Open kawadakk opened 2 months ago
Bug description
Similarly to Box::into_raw, IntoGlibPtr::into_glib_ptr merely converts self into a raw pointer, which is inert by itself. There don't seem to be any safety invariants (preconditions) the caller needs to uphold.
Box::into_raw
IntoGlibPtr::into_glib_ptr
self
Backtrace
N/A
That's true, same for to_glib_none() etc.
to_glib_none()
Do you want to provide a PR for that?
Bug description
Similarly to
Box::into_raw
,IntoGlibPtr::into_glib_ptr
merely convertsself
into a raw pointer, which is inert by itself. There don't seem to be any safety invariants (preconditions) the caller needs to uphold.Backtrace
N/A