wasmedge_sys::ffi

Function WasmEdge_LoaderCreate

Source
pub unsafe extern "C" fn WasmEdge_LoaderCreate(
    ConfCxt: *const WasmEdge_ConfigureContext,
) -> *mut WasmEdge_LoaderContext
Expand description

Creation of the WasmEdge_LoaderContext.

The caller owns the object and should call WasmEdge_LoaderDelete to destroy it.

\param ConfCxt the WasmEdge_ConfigureContext as the configuration of Loader. NULL for the default configuration.

\returns pointer to context, NULL if failed.