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 mapping of unique pointers #1462

Merged
merged 2 commits into from
Jan 20, 2024
Merged

Conversation

HGuillemet
Copy link
Collaborator

When a native function takes a unique_ptr to some class as an argument AND if that class can be instantiated from Java, the Java constructors must by annotated with @UniquePtr and @Name.

Affected presets: Pytorch and Tensorflow-lite.

Copy link
Member

@saudet saudet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but is there anything else you'd like to fix before the release or is this it?

@HGuillemet
Copy link
Collaborator Author

I'm done for the presets. I'm going to push another small fix for javacpp

@saudet saudet merged commit 3a4beaa into bytedeco:master Jan 20, 2024
13 checks passed
@saudet
Copy link
Member

saudet commented Jan 20, 2024

Any estimates on when that fix is going to land?

@HGuillemet HGuillemet deleted the unique_ptr branch January 20, 2024 23:56
@HGuillemet
Copy link
Collaborator Author

Regression tests on presets are currently running.
I'll check the result in ~ 8 hours.

@HGuillemet HGuillemet restored the unique_ptr branch August 5, 2024 10:21
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.

2 participants