diff --git a/src/lib.rs b/src/lib.rs index 3083a47..6ce6aed 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -108,6 +108,7 @@ pub type JNIEnv = *const JNINativeInterface_; pub type JavaVM = *const JNIInvokeInterface_; #[repr(C)] +#[non_exhaustive] #[derive(Copy)] pub struct JNINativeInterface_ { pub reserved0: *mut c_void,