We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
into_glib_ptr
unsafe fn
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
The text was updated successfully, but these errors were encountered:
That's true, same for to_glib_none() etc.
to_glib_none()
Do you want to provide a PR for that?
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: