Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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