MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / wasm_extern_as_func_const

Function wasm_extern_as_func_const

src/wasm-c.cc:989–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

987}
988
989const wasm_func_t* wasm_extern_as_func_const(const wasm_extern_t* external) {
990 return hide_func(external->func());
991}
992const wasm_global_t* wasm_extern_as_global_const(const wasm_extern_t* external) {
993 return hide_global(external->global());
994}

Callers

nothing calls this directly

Calls 1

funcMethod · 0.80

Tested by

no test coverage detected