pub unsafe extern "C" fn WasmEdge_VMLoadWasmFromASTModule(
Cxt: *mut WasmEdge_VMContext,
ASTCxt: *const WasmEdge_ASTModuleContext,
) -> WasmEdge_ResultExpand description
Load the WASM module from loaded WasmEdge AST Module.
This is the first step for step-by-step WASM function invocation.
Copy the loaded WasmEdge AST Module context into the VM. The VM context has
no dependency on the input AST Module context. You can then call
WasmEdge_VMValidate for the next step.
This function is thread-safe.
\param Cxt the WasmEdge_VMContext. \param ASTCxt the WasmEdge AST Module context generated by loader or compiler.
\returns WasmEdge_Result. Call WasmEdge_ResultGetMessage for the error
message.