2022-01-18 17:33:14 +00:00
|
|
|
mod api;
|
|
|
|
mod bridge_generated;
|
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-01-31 15:11:18 +00:00
|
|
|
crate::intf::utils::android::veilid_core_setup_android_no_log(env, ctx);
|
2022-01-31 13:52:11 +00:00
|
|
|
}
|