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

Fix problem using copy constructor of Box #1241

Merged
merged 6 commits into from
Feb 17, 2023
Merged

Fix problem using copy constructor of Box #1241

merged 6 commits into from
Feb 17, 2023

Conversation

adetaylor
Copy link
Collaborator

Reproduction case for #1237

Fixes #1237. Though this test case now causes another problem.
Sometimes autocxx generates wrapper functions on the Rust side, depending on
the needs of some of the arguments and return values. If these wrapper
functions took as a parameter Box<T> where T was an extern_rust_type, then this
failed because T was specified as root::T yet T was not in the root. This
change fixes that problem by ensuring T always is at the root.
@adetaylor adetaylor changed the title Add reproduction test for #1237 Fix problem using copy constructor of Box Feb 17, 2023
@adetaylor adetaylor merged commit e47ff2e into main Feb 17, 2023
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.

1 participant