wasmedge_sys::ffi

Function WasmEdge_FunctionInstanceGetData

Source
pub unsafe extern "C" fn WasmEdge_FunctionInstanceGetData(
    Cxt: *const WasmEdge_FunctionInstanceContext,
) -> *const c_void
Expand description

Get the function data field of the function instance.

The function data is passed when creating the FunctionInstance.

\param Cxt the WasmEdge_FunctionInstanceContext.

\returns pointer to Data, NULL if failed.