wasm_func_param_arity

Function wasm_func_param_arity 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn wasm_func_param_arity( f: &wasm_func_t, ) -> usize
Expand description

Returns the number of parameter types of the wasm_func_t.

Wraps Func::ty, followed by FuncType::params and a call to len.

§Safety

It is the caller’s responsibility not to alias the wasm_func_t with its underlying, internal WasmStoreRef.