Minimum returns the minimum size, in elements, of this table.
()
| 77 | |
| 78 | // Minimum returns the minimum size, in elements, of this table. |
| 79 | func (ty *TableType) Minimum() uint32 { |
| 80 | ptr := C.wasm_tabletype_limits(ty.ptr()) |
| 81 | ret := uint32(ptr.min) |
| 82 | runtime.KeepAlive(ty) |
| 83 | return ret |
| 84 | } |
| 85 | |
| 86 | // Maximum returns the maximum size, in elements, of this table. |
| 87 | // |