MCPcopy Create free account
hub / github.com/bluejekyll/wasmtime-java / say_hello_to_java

Function say_hello_to_java

tests/slices/src/lib.rs:14–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13#[no_mangle]
14pub extern "C" fn say_hello_to_java() {
15 let hello: Borrowed<WasmSlice> = "Hello Java!".into();
16
17 unsafe { hello_to_java(hello.ptr(), hello.len()) }
18}
19
20/// # Safety
21///

Callers 1

say_hello_in_javaFunction · 0.85

Calls 2

ptrMethod · 0.80
lenMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…