From 5b45a4fcb9ba78847e79308dd9ce106d3142f7c4 Mon Sep 17 00:00:00 2001 From: JF Bastien Date: Mon, 12 Dec 2016 08:23:41 -0800 Subject: resizable_limits flag is varuint1 for now (#895) Same size, same meaning for now, but clearer. --- BinaryEncoding.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'BinaryEncoding.md') 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) -- cgit v1.2.3