-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
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
Document Option<extern "C" fn>
in the FFI tutorial
#8748
Labels
P-medium
Medium priority
Comments
Nominating for milestone. |
Accepted for well-defined |
part of #11755 |
Nominating to remove from milestone. |
We can ship 1.0 without this, though it would be good to have this. Leaving as P-high, but removing from 1.0 milestone. |
Taking this. |
bors
added a commit
that referenced
this issue
Apr 11, 2014
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jun 4, 2022
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jun 4, 2022
…raffate Fix rust-lang#8748 Thank you for making Clippy better! changelog: Fix ICE rust-lang#8748 in shadow.rs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The FFI tutorial should reflect the fact that:
Option<thin-ptr-type>
is guaranteed to be a pointer with None represented as NULL.Option<extern "C" fn>
is the recommended way to represent a nullable fn pointer.The text was updated successfully, but these errors were encountered: