Registry / other / jni-sys

jni-sys

JSON →
library0.4.1rscratesunverified

Rust FFI definitions corresponding to the Java Native Interface header jni.h.

# Cargo.toml [dependencies] jni-sys = "0.4.1"
INSTALL
IMPORT
SIG · JNI-SYS
J
jni-sys
otherrustv0.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JNIEnv
✓ use jni_sys::JNIEnv;

Declare a null JNIEnv pointer using the raw FFI type.

use jni_sys::JNIEnv; fn main() { // JNIEnv is a raw pointer type; typically used via the jni crate. let _env: *mut JNIEnv = std::ptr::null_mut(); }
Debug
Known issues
gotchaThis crate provides only raw FFI bindings; you likely want the higher-level `jni` crate instead.
fix
Use the `jni` crate for safe, idiomatic JNI access.
affects: *
Upgrade
Version history
0.4.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
jni-sys — cargo add jni-sys · libregistry