Skip to content

Commit

Permalink
Add GetModule to JNINativeInterface_
Browse files Browse the repository at this point in the history
GetModule was added to JNI version 9
  • Loading branch information
rib committed Jun 21, 2023
1 parent a2e71cf commit 4a0ed67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1391,6 +1391,7 @@ pub struct JNINativeInterface_ {
Option<unsafe extern "system" fn(env: *mut JNIEnv, buf: jobject) -> jlong>,
pub GetObjectRefType:
Option<unsafe extern "system" fn(env: *mut JNIEnv, obj: jobject) -> jobjectRefType>,
pub GetModule: Option<unsafe extern "system" fn(env: *mut JNIEnv, clazz: jclass) -> jobject>,
}

impl Clone for JNINativeInterface_ {
Expand Down

0 comments on commit 4a0ed67

Please sign in to comment.