We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
as_ptr
1 parent 37a40ed commit 74513abCopy full SHA for 74513ab
glib/src/collections/strv.rs
@@ -860,7 +860,7 @@ impl StrV {
860
separator.run_with_gstr(|separator| unsafe {
861
from_glib_full(ffi::g_strjoinv(
862
separator.to_glib_none().0,
863
- self.ptr.as_ptr(),
+ self.as_ptr() as *mut _,
864
))
865
})
866
}
@@ -872,7 +872,7 @@ impl StrV {
872
pub fn contains(&self, s: impl IntoGStr) -> bool {
873
s.run_with_gstr(|s| unsafe {
874
from_glib(ffi::g_strv_contains(
875
- self.ptr.as_ptr() as *const _,
+ self.as_ptr() as *const _,
876
s.to_glib_none().0,
877
878
0 commit comments