Skip to content
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

Make nested types work #463

Merged
merged 3 commits into from
May 3, 2021
Merged

Make nested types work #463

merged 3 commits into from
May 3, 2021

Conversation

martinboehme
Copy link
Collaborator

We use the bindgen_original_type attribute emitted by autocxx-bindgen to refer to the correct C++ type in generated C++ and Rust code.

For details, see #115.

Fixes #115.

These attributes don't have a corresponding macro defined anywhere, so
they will cause compilation errors if we leave them in.

This bug was exposed by a recent change in autocxx-bindgen that added
`bindgen_original_name` attributes for nested types; this is why
autocxx-bindgen was temporarily pinned to version 0.58.3, which does not
contain those changes.

Because the bug is now fixed, this change also updates autocxx-bindgen
to 0.58.4.
This is in preparation for being able to use it for types as well as
functions.
We use the `bindgen_original_type` attribute emitted by autocxx-bindgen
to refer to the correct C++ type in generated C++ and Rust code.

For details, see google#115
@adetaylor adetaylor merged commit 730fc5d into google:main May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nested types don't work
2 participants