wasmedge_sys::ffi

Function WasmEdge_ValidatorValidate

Source
pub unsafe extern "C" fn WasmEdge_ValidatorValidate(
    Cxt: *mut WasmEdge_ValidatorContext,
    ASTCxt: *const WasmEdge_ASTModuleContext,
) -> WasmEdge_Result
Expand description

Validate the WasmEdge AST Module.

\param Cxt the WasmEdge_ValidatorContext. \param ASTCxt the WasmEdge_ASTModuleContext to validate.

\returns WasmEdge_Result. Call WasmEdge_ResultGetMessage for the error message.