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

This commit is contained in:
ehlxr 2022-02-28 11:41:34 +08:00
parent d53aa005a6
commit 85c43bfe26

View File

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