WasmGas

Undocumented in source.

Constructors

this
this(WasmWriter writer)
Undocumented in source.

Members

Aliases

Code
alias Code = WasmWriter.WasmSection.Code
Undocumented in source.
CodeType
alias CodeType = WasmWriter.WasmSection.CodeType
Undocumented in source.
ExportType
alias ExportType = WasmWriter.WasmSection.ExportType
Undocumented in source.
FuncType
alias FuncType = WasmWriter.WasmSection.FuncType
Undocumented in source.
Function
alias Function = WasmWriter.WasmSection.Function
Undocumented in source.
Global
alias Global = WasmWriter.WasmSection.Global
Undocumented in source.
GlobalDesc
alias GlobalDesc = WasmWriter.WasmSection.ImportType.ImportDesc.GlobalDesc
Undocumented in source.
GlobalType
alias GlobalType = WasmWriter.WasmSection.GlobalType
Undocumented in source.
InjectGas
alias InjectGas = void delegate(scope OutBuffer bout, const uint gas)
Undocumented in source.
Type
alias Type = WasmWriter.WasmSection.Type
Undocumented in source.
TypeIndex
alias TypeIndex = WasmWriter.WasmSection.TypeIndex
Undocumented in source.

Functions

inject
uint inject(SecType sectype)

Append and section type to the specified section

modify
void modify()
Undocumented in source. Be warned that the author may not have intended to support it.
perform_gas_inject
void perform_gas_inject(InjectGas inject_gas)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

read_gas_gauge
enum read_gas_gauge;
Undocumented in source.
set_gas_gauge
enum set_gas_gauge;
Undocumented in source.

Variables

writer
WasmWriter writer;
Undocumented in source.

Meta