sgns::runtime::binaryen::WasmModuleInstance¶
#include <wasm_module_instance.hpp>
Inherited by sgns::runtime::binaryen::WasmModuleInstanceImpl
Public Functions¶
| Name | |
|---|---|
| virtual | ~WasmModuleInstance() =default |
| virtual wasm::Literal | callExport(wasm::Name name, const std::vector< wasm::Literal > & arguments) =0 |
Detailed Description¶
Wrapper for wasm::ModuleInstance
Public Functions Documentation¶
function ~WasmModuleInstance¶
function callExport¶
virtual wasm::Literal callExport(
wasm::Name name,
const std::vector< wasm::Literal > & arguments
) =0
Parameters:
- name the name of a wasm function to call
- arguments the list of arguments to pass to the function
Return: whatever the export function returns
Reimplemented by: sgns::runtime::binaryen::WasmModuleInstanceImpl::callExport
Updated on 2026-03-04 at 13:10:43 -0800