Function wasmedge_sys::ffi::WasmEdge_ValidatorCreate
source · pub unsafe extern "C" fn WasmEdge_ValidatorCreate(
ConfCxt: *const WasmEdge_ConfigureContext
) -> *mut WasmEdge_ValidatorContext
Expand description
Creation of the WasmEdge_ValidatorContext.
The caller owns the object and should call WasmEdge_ValidatorDelete
to
destroy it.
\param ConfCxt the WasmEdge_ConfigureContext as the configuration of Validator. NULL for the default configuration.
\returns pointer to context, NULL if failed.