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
| Type | Name |
|---|---|
| WaaS.Runtime.FunctionInstance | functionInstance |
| WaaS.Runtime.GlobalInstance | globals |
| WaaS.Models.ElementSection | elementSection |
Exceptions
WaaS.Runtime.TrapException
A segment is out of the bounds of the table.