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

Function wasm_extern_as_func_const

crates/c-api/src/extern.rs:43–45  ·  view source on GitHub ↗
(e: &wasm_extern_t)

Source from the content-addressed store, hash-verified

41
42#[unsafe(no_mangle)]
43pub extern "C" fn wasm_extern_as_func_const(e: &wasm_extern_t) -> Option<&wasm_func_t> {
44 wasm_extern_as_func(e)
45}
46
47#[unsafe(no_mangle)]
48pub extern "C" fn wasm_extern_as_global(e: &wasm_extern_t) -> Option<&wasm_global_t> {

Callers

nothing calls this directly

Calls 1

wasm_extern_as_funcFunction · 0.85

Tested by

no test coverage detected