(mut env: JNIEnv<'a>, _: JClass, policy_jstr: JString<'a>)
| 848 | |
| 849 | #[jni_fn("com.cedarpolicy.model.policy.Policy")] |
| 850 | pub fn policyEffectJni<'a>(mut env: JNIEnv<'a>, _: JClass, policy_jstr: JString<'a>) -> jvalue { |
| 851 | match policy_effect_jni_internal(&mut env, policy_jstr) { |
| 852 | Err(e) => jni_failed(&mut env, e.as_ref()), |
| 853 | Ok(effect) => effect.as_jni(), |
| 854 | } |
| 855 | } |
| 856 | |
| 857 | fn policy_effect_jni_internal<'a>( |
| 858 | env: &mut JNIEnv<'a>, |
nothing calls this directly
no test coverage detected