diff options
| author | JF Bastien <github@jfbastien.com> | 2016-12-12 08:23:41 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-12 08:23:41 -0800 |
| commit | 5b45a4fcb9ba78847e79308dd9ce106d3142f7c4 (patch) | |
| tree | 5d771a6f3882231de50ebd4cd28d858669b37a7d /BinaryEncoding.md | |
| parent | 71b40d1d19b10aaa6e35d8d0f9b1ca13653894b8 (diff) | |
| download | nanowasm-design-5b45a4fcb9ba78847e79308dd9ce106d3142f7c4.tar.gz | |
resizable_limits flag is varuint1 for now (#895)
Same size, same meaning for now, but clearer.
Diffstat (limited to 'BinaryEncoding.md')
| -rw-r--r-- | BinaryEncoding.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md index 57bd1a8..c1c1a0c 100644 --- a/BinaryEncoding.md +++ b/BinaryEncoding.md @@ -148,11 +148,11 @@ A packed tuple that describes the limits of a | Field | Type | Description | | ----- | ----- | ----- | -| flags | `varuint32` | bit `0x1` is set if the maximum field is present | +| flags | `varuint1` | set if the maximum field is present | | initial | `varuint32` | initial length (in units of table elements or wasm pages) | | maximum | `varuint32`? | only present if specified by `flags` | -Note: In the [future :unicorn:][future threads], the "flags" field may be extended, e.g., to include a flag for sharing between threads. +Note: In the [future :unicorn:][future threads], the "flags" field may be changed to `varuint32`, e.g., to include a flag for sharing between threads. ### `init_expr` The encoding of an [initializer expression](Modules.md#initializer-expression) |
