2022-03-15 14:02:20 +00:00
|
|
|
mod dart_ffi;
|
|
|
|
mod dart_isolate_wrapper;
|
2022-06-29 17:39:54 +00:00
|
|
|
mod tools;
|
2022-01-31 13:52:11 +00:00
|
|
|
|
2022-01-31 15:11:18 +00:00
|
|
|
#[cfg(target_os = "android")]
|
2022-01-31 13:52:11 +00:00
|
|
|
use jni::{objects::JClass, objects::JObject, JNIEnv};
|
|
|
|
|
2022-01-31 15:11:18 +00:00
|
|
|
#[cfg(target_os = "android")]
|
2022-01-31 13:52:11 +00:00
|
|
|
#[no_mangle]
|
|
|
|
#[allow(non_snake_case)]
|
2022-01-31 15:11:18 +00:00
|
|
|
pub extern "system" fn Java_com_veilid_veilid_VeilidPlugin_init_1android(
|
2022-01-31 13:52:11 +00:00
|
|
|
env: JNIEnv,
|
|
|
|
_class: JClass,
|
|
|
|
ctx: JObject,
|
|
|
|
) {
|
2022-03-04 01:45:39 +00:00
|
|
|
veilid_core::veilid_core_setup_android_no_log(env, ctx);
|
2022-01-31 13:52:11 +00:00
|
|
|
}
|