(
j: Option<JniCallStaticObjectMethod>,
)
| 604 | } |
| 605 | |
| 606 | pub(crate) fn set_jni_call_static_object_method( |
| 607 | j: Option<JniCallStaticObjectMethod>, |
| 608 | ) -> Option<JniCallStaticObjectMethod> { |
| 609 | debug("Called set_jni_call_static_object_method"); |
| 610 | JNI_CALL_STATIC_OBJECT_METHOD.with(|opt| { |
| 611 | *opt.borrow_mut() = j; |
| 612 | }); |
| 613 | get_jni_call_static_object_method() |
| 614 | } |
| 615 | |
| 616 | pub(crate) fn get_jni_call_static_object_method() -> Option<JniCallStaticObjectMethod> { |
| 617 | JNI_CALL_STATIC_OBJECT_METHOD.with(|opt| *opt.borrow()) |
no test coverage detected