Type Alias wasmedge_sys::ffi::WasmEdge_WrapFunc_t
source · pub type WasmEdge_WrapFunc_t = Option<unsafe extern "C" fn(This: *mut c_void, Data: *mut c_void, CallFrameCxt: *const WasmEdge_CallingFrameContext, Params: *const WasmEdge_Value, ParamLen: u32, Returns: *mut WasmEdge_Value, ReturnLen: u32) -> WasmEdge_Result>;
Aliased Type§
enum WasmEdge_WrapFunc_t {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *const WasmEdge_CallingFrameContext, _: *const WasmEdge_Value, _: u32, _: *mut WasmEdge_Value, _: u32) -> WasmEdge_Result),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *const WasmEdge_CallingFrameContext, _: *const WasmEdge_Value, _: u32, _: *mut WasmEdge_Value, _: u32) -> WasmEdge_Result)
Some value of type T
.