Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::vm::null_host_functions Struct Reference

#include <execution_context.hpp>

Public Member Functions

template<typename... A>
void operator() (A &&...) const
 
template<typename... A>
void operator() (A &&...) const
 

Detailed Description

Definition at line 37 of file execution_context.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename... A>
void sysio::vm::null_host_functions::operator() ( A && ...) const
inline

Definition at line 39 of file execution_context.hpp.

39 {
40 SYS_VM_ASSERT(false, wasm_interpreter_exception,
41 "Should never get here because it's impossible to link a module "
42 "that imports any host functions, when no host functions are available");
43 }
#define SYS_VM_ASSERT(expr, exc_type, msg)
Definition exceptions.hpp:8

◆ operator()() [2/2]

template<typename... A>
void sysio::vm::null_host_functions::operator() ( A && ...) const
inline

Definition at line 39 of file execution_context.hpp.

39 {
40 SYS_VM_ASSERT(false, wasm_interpreter_exception,
41 "Should never get here because it's impossible to link a module "
42 "that imports any host functions, when no host functions are available");
43 }

The documentation for this struct was generated from the following files: