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
wx manages (almost all) wxWindows' pointers which is in widgets tree.
This means that any operation potentially makes any pointers invalid.
This should be expressed unsafe in Rust, how can we do this?
unsafe
The text was updated successfully, but these errors were encountered:
Marking following methods unsafe may make it programmer's responsibility
I think this is a reasonable compromise than other approaches like:
Those approaches will increase run-time overhead unreasonablly. As a Rust library, this isn't desirable.
Providing unsafe and performant variants to whole APIs doubles the work for binding.
Sorry, something went wrong.
No branches or pull requests
wx manages (almost all) wxWindows' pointers which is in widgets tree.
This means that any operation potentially makes any pointers invalid.
This should be expressed
unsafe
in Rust, how can we do this?The text was updated successfully, but these errors were encountered: