MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / wasm_ref_same

Function wasm_ref_same

crates/c-api/src/ref.rs:44–47  ·  view source on GitHub ↗
(_a: Option<&wasm_ref_t>, _b: Option<&wasm_ref_t>)

Source from the content-addressed store, hash-verified

42
43#[unsafe(no_mangle)]
44pub extern "C" fn wasm_ref_same(_a: Option<&wasm_ref_t>, _b: Option<&wasm_ref_t>) -> bool {
45 // We need a store to determine whether these are the same reference or not.
46 abort("wasm_ref_same")
47}
48
49#[unsafe(no_mangle)]
50pub extern "C" fn wasm_ref_get_host_info(_ref: Option<&wasm_ref_t>) -> *mut c_void {

Callers

nothing calls this directly

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected