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

Function wasm_func_as_extern

crates/c-api/src/func.rs:197–199  ·  view source on GitHub ↗
(f: &mut wasm_func_t)

Source from the content-addressed store, hash-verified

195
196#[unsafe(no_mangle)]
197pub extern "C" fn wasm_func_as_extern(f: &mut wasm_func_t) -> &mut wasm_extern_t {
198 &mut (*f).ext
199}
200
201#[unsafe(no_mangle)]
202pub extern "C" fn wasm_func_as_extern_const(f: &wasm_func_t) -> &wasm_extern_t {

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected