-
Notifications
You must be signed in to change notification settings - Fork 159
Handle pointers #102
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
Labels
cpp-feature
C++ feature not yet supported
Comments
Here's my plan here.
|
See also dtolnay/cxx#115 |
Possibly more relevant upstream issue: dtolnay/cxx#164. |
In progress at dtolnay/cxx#689 |
This was referenced Feb 6, 2021
Merged
This landed! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment, we're not handling pointers which may be null. We're just converting any pointers that we discover into references.
We probably need to convert
Foo*
intoOption<&Foo>
rather thanFoo
. This will probably requirecxx
support first, and/or wrapper functions.It's also not clear whether the information output from
bindgen
even distinguishes references from pointers enough for us to make this distinction. TBD.The text was updated successfully, but these errors were encountered: