Skip to main content

Module jni_guard

Module jni_guard 

Source
Expand description

Panic containment for the Android JNI boundary.

Compiled on every platform, unlike player::android itself, so the guard and the tripwire that enforces its use are unit-tested on the host โ€” the same reason RESUME_BACKOFF_STEP_SECS lives outside the cfg(android) block.

Functionsยง

jni_guard ๐Ÿ”’
Run the body of a JNI callback with any panic contained.