From 508bfd1936dbf6982a989d227ebf508da7956e83 Mon Sep 17 00:00:00 2001 From: kud1ing Date: Mon, 12 Dec 2016 06:44:34 +0100 Subject: [PATCH] add --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 8d08d79..3809686 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; +}