modified: src/lib.rs
This commit is contained in:
parent
f940571319
commit
4e6f192a51
@ -32,7 +32,7 @@ pub mod android {
|
||||
use self::jni::sys::{jstring};
|
||||
|
||||
#[no_mangle]
|
||||
pub async unsafe extern fn Java_com_alterdekim_frida_FridaVPN_startClient(env: JNIEnv, _: JClass, java_pattern: JString) {
|
||||
pub async unsafe extern fn Java_com_alterdekim_frida_FridaVPN_startClient(env: JNIEnv<'_>, _: JClass<'_>, java_pattern: JString<'_>) {
|
||||
// Our Java companion code might pass-in "world" as a string, hence the name.
|
||||
//let world = rust_greeting(env.get_string(java_pattern).expect("invalid pattern string").as_ptr());
|
||||
// Retake pointer so that we can use it below and allow memory to be freed when it goes out of scope.
|
||||
|
Loading…
x
Reference in New Issue
Block a user