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

Function set_jni_call_void_method

rust/src/cache.rs:490–496  ·  view source on GitHub ↗
(j: Option<JniCallVoidMethod>)

Source from the content-addressed store, hash-verified

488}
489
490pub(crate) fn set_jni_call_void_method(j: Option<JniCallVoidMethod>) -> Option<JniCallVoidMethod> {
491 debug("Called set_jni_call_void_method");
492 JNI_CALL_VOID_METHOD.with(|opt| {
493 *opt.borrow_mut() = j;
494 });
495 get_jni_call_void_method()
496}
497
498pub(crate) fn set_jni_call_byte_method(j: Option<JniCallByteMethod>) -> Option<JniCallByteMethod> {
499 debug("Called set_jni_call_byte_method");

Callers 1

try_fromMethod · 0.85

Calls 2

debugFunction · 0.85
get_jni_call_void_methodFunction · 0.85

Tested by

no test coverage detected