Function oo_bindgen::backend::java::generate_jni
source · pub fn generate_jni(
path: &Path,
lib: &Library,
config: &JniBindgenConfig<'_>
) -> Result<(), Box<dyn Error>>
Expand description
Generate all of the JNI (Rust) source code that glues the Java and FFI together
This function is typically called from a build.rs script in a target that builds the JNI shared library