Skip to content

sgns::runtime::binaryen::WasmExecutor

WasmExecutor is the helper to execute export functions from wasm runtime. More...

#include <wasm_executor.hpp>

Public Types

Name
enum class Error

Public Functions

Name
outcome::result< wasm::Literal > call(WasmModuleInstance & module_instance, wasm::Name method_name, const std::vector< wasm::Literal > & args)

Detailed Description

class sgns::runtime::binaryen::WasmExecutor;

WasmExecutor is the helper to execute export functions from wasm runtime.

Note: This class is implementation detail and should never be used outside this directory

Public Types Documentation

enum Error

Enumerator Value Description
EXECUTION_ERROR 1

Public Functions Documentation

function call

outcome::result< wasm::Literal > call(
    WasmModuleInstance & module_instance,
    wasm::Name method_name,
    const std::vector< wasm::Literal > & args
)

Updated on 2026-03-04 at 13:10:43 -0800