wasmi_c_api

Function wasm_extern_as_func_const

source
#[no_mangle]
pub extern "C" fn wasm_extern_as_func_const(
    e: &wasm_extern_t,
) -> Option<&wasm_func_t>
Expand description

Returns the wasm_extern_t as reference to shared wasm_func_t if possible.

Returns None if e is not a wasm_func_t.