Documentation ¶
Index ¶
Constants ¶
View Source
const ( MagicNumber = uint32(0x6d736100) Version = uint32(1) )
View Source
const ( MaxFunctions = 32768 MaxFuncParams = 255 MaxTypes = MaxFunctions MaxImports = MaxFunctions )
View Source
const ( SectionCustom = SectionID(iota) SectionType SectionImport SectionFunction SectionTable SectionMemory SectionGlobal SectionExport SectionStart SectionElement SectionCode SectionData NumSections )
View Source
const ( ExternalKindFunction = ExternalKind(iota) ExternalKindTable ExternalKindMemory ExternalKindGlobal )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExternalKind ¶
type ExternalKind byte
func (ExternalKind) String ¶
func (kind ExternalKind) String() (s string)
type ImportFunc ¶ added in v0.3.1
type ImportIndex ¶ added in v0.21.0
type M ¶ added in v0.3.1
type M struct { Types []wa.FuncType Funcs []uint32 ImportFuncs []ImportFunc TableLimit ResizableLimits MemoryLimit ResizableLimits Globals []Global ImportGlobals []Import ExportFuncs map[string]uint32 StartIndex uint32 StartDefined bool TableFuncs []uint32 }
type ResizableLimits ¶
Click to show internal directories.
Click to hide internal directories.