(mut env: JNIEnv<'a>, _: JClass, policy_jstr: JString<'a>)
| 871 | |
| 872 | #[jni_fn("com.cedarpolicy.model.policy.Policy")] |
| 873 | pub fn templateEffectJni<'a>(mut env: JNIEnv<'a>, _: JClass, policy_jstr: JString<'a>) -> jvalue { |
| 874 | match template_effect_jni_internal(&mut env, policy_jstr) { |
| 875 | Err(e) => jni_failed(&mut env, e.as_ref()), |
| 876 | Ok(effect) => effect.as_jni(), |
| 877 | } |
| 878 | } |
| 879 | |
| 880 | fn template_effect_jni_internal<'a>( |
| 881 | env: &mut JNIEnv<'a>, |
nothing calls this directly
no test coverage detected