WebAssembly definitions
This set of pages details the top-level module definition features available in Wasm for defining items such as tables, types, memories, functions, etc.
This set of pages details the top-level module definition features available in Wasm for defining items such as tables, types, memories, functions, etc.
Types
func- : A function signature, which defines a function's identifier, parameter types, body, and result types.
Definitions
data- : Defines a segment of bytes that can be copied into linear memory.
elem- : Declares a series of references that can be copied into a Wasm
table. global- : Creates a new global.
import- : Declares one or more imports. Each references a value imported from the host (such as a function or memory) and makes it available for use in the Wasm module.
memory- : Declares a block of linear memory in units of 64KB pages.
table- : Creates a new table.
tag- : Declares an exception type that can be thrown in the module.