4 ms·
Which of the JNR projects is the one you used? There are three that sound like they would do the exact same thing: https://github.com/jnr/jnr-invoke https://gi
by Meai 11y ago
Which of the JNR projects is the one you used? There are three that sound like they would do the exact same thing:
https://github.com/jnr/jnr-invoke https://github.com/jnr/jnr-invoke
https://github.com/jnr/jnr-ffi https://github.com/jnr/jnr-ffi
https://github.com/jnr/jffi https://github.com/jnr/jffi
- pron 11y agojnr-ffi is the high-level API (and the one I used). jffi is a low-level ffi used by jnr-ffi. Unfortunately, jnr-ffi is still missing one piece (which can be done with the low-level FFI), namely returning creating a function pointer to a Java method dynamically and passing it to C code.