예제 #1
0
 /// <summary>
 /// Creates a table description from the given element type and limits.
 /// </summary>
 /// <param name="elementType">The table's element type.</param>
 /// <param name="limits">The table's limits.</param>
 public TableType(WasmType elementType, ResizableLimits limits)
 {
     this.ElementType = elementType;
     this.Limits      = limits;
 }
예제 #2
0
 /// <summary>
 /// Creates a new linear memory description from the given limits.
 /// </summary>
 /// <param name="Limits">The linear memory's limits.</param>
 public MemoryType(ResizableLimits Limits)
 {
     this.Limits = Limits;
 }
예제 #3
0
 /// <summary>
 /// Creates a table description from the given element type and limits.
 /// </summary>
 /// <param name="ElementType">The table's element type.</param>
 /// <param name="Limits">The table's limits.</param>
 public TableType(WasmType ElementType, ResizableLimits Limits)
 {
     this.ElementType = ElementType;
     this.Limits      = Limits;
 }