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

Function wasm_func_result_arity

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

Source from the content-addressed store, hash-verified

190
191#[unsafe(no_mangle)]
192pub unsafe extern "C" fn wasm_func_result_arity(f: &wasm_func_t) -> usize {
193 f.func().ty(f.ext.store.context()).results().len()
194}
195
196#[unsafe(no_mangle)]
197pub extern "C" fn wasm_func_as_extern(f: &mut wasm_func_t) -> &mut wasm_extern_t {

Callers

nothing calls this directly

Calls 5

lenMethod · 0.45
resultsMethod · 0.45
tyMethod · 0.45
funcMethod · 0.45
contextMethod · 0.45

Tested by

no test coverage detected