Skip to main content

Class TableInstance

A collection of tables in a WebAssembly instance.

Assembly: WaaS.Core.dll​
View Source​
Declaration
public class TableInstance

Properties​

Tables​

View Source​
Declaration
public ReadOnlyMemory<Table> Tables { get; }

Methods​

Initialize(FunctionInstance, GlobalInstance, ElementSection)​

Initializes the tables with the active segments, and drops the active and declarative segments.

View Source​
Declaration
public void Initialize(FunctionInstance functionInstance, GlobalInstance globals, ElementSection elementSection)
Parameters​
TypeName
WaaS.Runtime.FunctionInstancefunctionInstance
WaaS.Runtime.GlobalInstanceglobals
WaaS.Models.ElementSectionelementSection
Exceptions​

WaaS.Runtime.TrapException
A segment is out of the bounds of the table.