wasmedge_sys::ffi

Function WasmEdge_ValueGetFuncRef

Source
pub unsafe extern "C" fn WasmEdge_ValueGetFuncRef(
    Val: WasmEdge_Value,
) -> *const WasmEdge_FunctionInstanceContext
Expand description

Retrieve the function instance context from the WASM value.

\param Val the WasmEdge_Value struct.

\returns pointer to function instance context in the input struct.