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

Function wasmtime_func_to_raw

crates/c-api/src/func.rs:472–477  ·  view source on GitHub ↗
(
    store: WasmtimeStoreContextMut<'_>,
    func: &Func,
)

Source from the content-addressed store, hash-verified

470
471#[unsafe(no_mangle)]
472pub unsafe extern "C" fn wasmtime_func_to_raw(
473 store: WasmtimeStoreContextMut<'_>,
474 func: &Func,
475) -> *mut c_void {
476 func.to_raw(store)
477}

Callers 1

storeMethod · 0.85

Calls 1

to_rawMethod · 0.45

Tested by

no test coverage detected