(
data_ptr: i32,
data_len: i32,
response: &mut Owned<WasmSlice>,
)
| 46 | /// Passed in WasmSlice is owned by caller |
| 47 | #[no_mangle] |
| 48 | pub unsafe extern "C" fn say_hello_in_java( |
| 49 | data_ptr: i32, |
| 50 | data_len: i32, |
| 51 | response: &mut Owned<WasmSlice>, |
| 52 | ) { |
| 53 | // Technically after this call we "own" the response, but we pass that directly into the next method |
| 54 | // which will then own freeing the memory (which is technically handled by the wasmtime-jni bindings) |
| 55 | say_hello_to_java(data_ptr, data_len, response) |
| 56 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…