From f227e0da97de56811313463e221a3695649553e2 Mon Sep 17 00:00:00 2001 From: JF Bastien Date: Fri, 9 Dec 2016 09:35:20 -0800 Subject: [PATCH] resizable_limits flag is varuint1 for now Same size, same meaning for now, but clearer. --- BinaryEncoding.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BinaryEncoding.md b/BinaryEncoding.md index 57bd1a8f..c1c1a0cf 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)