You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Generator class will still produce JNI code with try-catch blocks for callback functions' _call function when the @NoException annotation is present.
Reproduction Steps
Create a preset of a library that makes use of callback functions - I've tested with LLVM's C-style function pointers
Add the @NoException annotation to the InfoMapper preset class
Run the JavaCPP generator with the javacpp.deleteJniFiles property set to false
View the generated JNI code for the callback types
…ads on callbacks (issue #486)
* Pick up `@Allocator`, `@CriticalRegion`, `@NoException` in `Generator` from `@Properties(inherit=classes)` as well (issue #484)
The Generator class will still produce JNI code with try-catch blocks for callback functions'
_call
function when the@NoException
annotation is present.Reproduction Steps
@NoException
annotation to the InfoMapper preset classjavacpp.deleteJniFiles
property set to falseBased on mailing list thread: https://groups.google.com/g/javacpp-project/c/zzGRu019BoA
The text was updated successfully, but these errors were encountered: