pub unsafe extern "C" fn WasmEdge_VMInstantiate(
Cxt: *mut WasmEdge_VMContext,
) -> WasmEdge_ResultExpand description
Instantiate the validated WASM module in the VM context.
This is the third step for step-by-step WASM function invocation.
After validating a WASM module in the VM context, you can call this function
to instantiate it. You can then call WasmEdge_VMExecute to invoke
the exported function in this WASM module.
After calling this function, a new anonymous module instance owned by the VM
is instantiated, and the old one will be destroyed.
This function is thread-safe.
\param Cxt the WasmEdge_VMContext.
\returns WasmEdge_Result. Call WasmEdge_ResultGetMessage for the error
message.