StartFunction

StartFunction

data class StartFunction

Identifies the entry point for a WasmModule.

Note: At most one start function may occur in a module

Fields

Name Description
val funcIndex: Index<Function>

Constructors

<init>

constructor(funcIndex: Index<Function>)

Identifies the entry point for a WasmModule.

Note: At most one start function may occur in a module

Parameters

Name Description
funcIndex: Index<Function>

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