pub type WasmEdge_HostFunc_t = Option<unsafe extern "C" fn(Data: *mut c_void, CallFrameCxt: *const WasmEdge_CallingFrameContext, Params: *const WasmEdge_Value, Returns: *mut WasmEdge_Value) -> WasmEdge_Result>;
Aliased Type§
enum WasmEdge_HostFunc_t {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *const WasmEdge_CallingFrameContext, _: *const WasmEdge_Value, _: *mut WasmEdge_Value) -> WasmEdge_Result),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut c_void, _: *const WasmEdge_CallingFrameContext, _: *const WasmEdge_Value, _: *mut WasmEdge_Value) -> WasmEdge_Result)
Some value of type T
.