Skip to content

Commit

Permalink
Merge pull request #3 from kud1ing/master
Browse files Browse the repository at this point in the history
Attempt to add `JNI_CreateJavaVM()`
  • Loading branch information
sfackler authored Dec 12, 2016
2 parents 483411d + 508bfd1 commit 65b88e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1210,3 +1210,7 @@ impl Default for JNIInvokeInterface_ {
unsafe { mem::zeroed() }
}
}

extern "C" {
pub fn JNI_CreateJavaVM(pvm: *mut *mut JavaVM, penv: *mut *mut c_void, args: *mut c_void) -> jint;
}

0 comments on commit 65b88e4

Please sign in to comment.