update at 2022-02-28 11:41:34 by ehlxr

master
ehlxr 2022-02-28 11:41:34 +08:00
parent d53aa005a6
commit 85c43bfe26
1 changed files with 7 additions and 4 deletions

View File

@ -1,8 +1,11 @@
use jni::errors::Result;
use jni::objects::{GlobalRef, JClass, JList, JMap, JObject, JString, JValue};
use jni::sys::{jbyteArray, jint, jlong, jobject, jstring};
use jni::JNIEnv;
use jni::{
errors::Result,
objects::{GlobalRef, JClass, JList, JMap, JObject, JString, JValue},
sys::{jbyteArray, jint, jlong, jobject, jstring},
JNIEnv,
};
use std::{sync::mpsc, thread, time::Duration};
#[no_mangle]
pub extern "system" fn Java_me_ehlxr_HelloWorld_getField(
env: JNIEnv,