Crate jni_fn

Source
Expand description

JNI-compatible method signature generator for Rust libraries.

This crate was designed for use with the jni crate, which exposes JNI-compatible type bindings. Although it’s possible to use jni without jni_fn, the procedural macro defined here will make it easier to write the method signatures correctly.

See the jni_fn attribute macro documentation below for more info and usage examples.

Attribute Macros§

jni_fn
Annotate a function with this procedural macro attribute to expose it over the JNI.