sgns::runtime::binaryen::WasmModuleInstanceImpl¶
#include <wasm_module_instance_impl.hpp>
Inherits from sgns::runtime::binaryen::WasmModuleInstance
Public Functions¶
| Name | |
|---|---|
| WasmModuleInstanceImpl(wasm::Module & module, const std::shared_ptr< RuntimeExternalInterface > & rei) | |
| virtual wasm::Literal | callExport(wasm::Name name, const std::vector< wasm::Literal > & arguments) override |
Additional inherited members¶
Public Functions inherited from sgns::runtime::binaryen::WasmModuleInstance
| Name | |
|---|---|
| virtual | ~WasmModuleInstance() =default |
Public Functions Documentation¶
function WasmModuleInstanceImpl¶
WasmModuleInstanceImpl(
wasm::Module & module,
const std::shared_ptr< RuntimeExternalInterface > & rei
)
function callExport¶
virtual wasm::Literal callExport(
wasm::Name name,
const std::vector< wasm::Literal > & arguments
) override
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
Reimplements: sgns::runtime::binaryen::WasmModuleInstance::callExport
Updated on 2026-03-04 at 13:10:43 -0800