StartFunction
data class StartFunction
Constructors
<init>
constructor(funcIndex: Index<Function>)
Identifies the entry point for a WasmModule.
Note: At most one start function may occur in a module
Extensions
validate
fun StartFunction.validate(context: Module): Module
Validates the StartFunction node.
Receiver
| Name | Description |
|---|---|
StartFunction
|
Parameters
| Name | Description |
|---|---|
context: Module
|
ReturnValue
| Name | Description |
|---|---|
Module
|
Identifies the entry point for a WasmModule.
Note: At most one start function may occur in a module