File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ macro_rules! glib_boxed_wrapper {
36
36
}
37
37
38
38
impl $( <$( $generic $( : $bound $( + $bound2) * ) ?) ,+>) ? $name $( <$( $generic) ,+>) ? {
39
+ #[ doc = "Return the inner pointer to the underlying C value." ]
39
40
pub fn as_ptr( & self ) -> * mut $ffi_name {
40
41
$crate:: translate:: ToGlibPtr :: to_glib_none( & self . inner) . 0 as * mut _
41
42
}
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ macro_rules! glib_shared_wrapper {
34
34
}
35
35
36
36
impl $( <$( $generic $( : $bound $( + $bound2) * ) ?) ,+>) ? $name $( <$( $generic) ,+>) ? {
37
+ #[ doc = "Return the inner pointer to the underlying C value." ]
37
38
pub fn as_ptr( & self ) -> * mut $ffi_name {
38
39
$crate:: translate:: ToGlibPtr :: to_glib_none( & self . inner) . 0 as * mut _
39
40
}
You can’t perform that action at this time.
0 commit comments