MCPcopy Create free account
hub / github.com/astonbitecode/j4rs / into_raw

Method into_raw

rust/src/api/mod.rs:1254–1258  ·  view source on GitHub ↗

Consumes the `Jvm` and returns its `JNIEnv`

(self)

Source from the content-addressed store, hash-verified

1252
1253 /// Consumes the `Jvm` and returns its `JNIEnv`
1254 pub fn into_raw(self) -> *mut JNIEnv {
1255 debug("Getting the raw JNIEnv from the Jvm");
1256
1257 self.jni_env
1258 }
1259
1260 /// Returns the Rust representation of the provided instance, boxed
1261 pub fn to_rust_boxed<T>(&self, instance: Instance) -> errors::Result<Box<T>>

Callers 2

to_c_stringFunction · 0.80
jvm_into_raw_objectFunction · 0.80

Calls 1

debugFunction · 0.85

Tested by 1

jvm_into_raw_objectFunction · 0.64