Skip to content

Struct SYN_WASM_FuncDef

ClassList > SYN_WASM_FuncDef

WebAssembly function definition metadata.

  • #include <syn_wasm.h>

Public Attributes

Type Name
uint32_t code_offset
uint32_t code_size
uint8_t param_count
uint8_t result_count
uint32_t type_idx

Public Attributes Documentation

variable code_offset

uint32_t SYN_WASM_FuncDef::code_offset;

Code offset in module bytes


variable code_size

uint32_t SYN_WASM_FuncDef::code_size;

Size of bytecode instructions


variable param_count

uint8_t SYN_WASM_FuncDef::param_count;

Number of input parameters


variable result_count

uint8_t SYN_WASM_FuncDef::result_count;

Number of return values


variable type_idx

uint32_t SYN_WASM_FuncDef::type_idx;

Type section index



The documentation for this class was generated from the following file src/syntropic/vm/syn_wasm.h