A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bytedeco/javacpp/issues/484 below:

Generator still generates try-catch blocks for callbacks when NoException is present · Issue #484 · bytedeco/javacpp · GitHub

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

  1. Create a preset of a library that makes use of callback functions - I've tested with LLVM's C-style function pointers
  2. Add the @NoException annotation to the InfoMapper preset class
  3. Run the JavaCPP generator with the javacpp.deleteJniFiles property set to false
  4. View the generated JNI code for the callback types

Based on mailing list thread: https://groups.google.com/g/javacpp-project/c/zzGRu019BoA


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4