pub unsafe extern "C" fn WasmEdge_ModuleInstanceGetHostData(
    Cxt: *const WasmEdge_ModuleInstanceContext
) -> *mut c_void
Expand description

Get the host data set into the module instance when creating.

The returned data is owned by the module instance, and will be passed into the finalizer when deleting this module instance.

\param Cxt the WasmEdge_ModuleInstanceContext.

\returns host data. NULL if the module instance context is NULL or no host data set into the module instance.