aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorClemens Hammacher <hammacher@cs.uni-saarland.de>2017-04-12 10:42:26 +0200
committerJF Bastien <github@jfbastien.com>2017-04-12 01:42:26 -0700
commit16265e1a8a8bb007abbce40067acef90b9b98bf3 (patch)
tree2b676ac7e8bd476cd0266d8f4ff9e03feebca25d /BinaryEncoding.md
parentef8db8fb41f20759b57d8a5a0c6ca44319c453fe (diff)
downloadnanowasm-design-16265e1a8a8bb007abbce40067acef90b9b98bf3.tar.gz
Add links for definitions far away (#1038)
Also, replace "below" by "above" if appropriate.
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index cf18b84..fba1976 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -234,7 +234,7 @@ The type section declares all function signatures that will be used in the modul
| Field | Type | Description |
| ----- | ---- | ----------- |
| count | `varuint32` | count of type entries to follow |
-| entries | `func_type*` | repeated type entries as described below |
+| entries | `func_type*` | repeated type entries as described [above](#func_type) |
Note: In the [future :unicorn:][future types],
this section may contain other forms of type entries as well, which can be distinguished by the `form` field of the type encoding.
@@ -301,7 +301,7 @@ The encoding of a [Table section](Modules.md#table-section):
| Field | Type | Description |
| ----- | ----- | ----- |
| count | `varuint32` | indicating the number of tables defined by the module |
-| entries | `table_type*` | repeated `table_type` entries as described below |
+| entries | `table_type*` | repeated `table_type` entries as described [above](#table_type) |
In the MVP, the number of tables must be no more than 1.
@@ -314,7 +314,7 @@ The encoding of a [Memory section](Modules.md#linear-memory-section):
| Field | Type | Description |
| ----- | ----- | ----- |
| count | `varuint32` | indicating the number of memories defined by the module |
-| entries | `memory_type*` | repeated `memory_type` entries as described below |
+| entries | `memory_type*` | repeated `memory_type` entries as described [above](#memory_type) |
Note that the initial/maximum fields are specified in units of
[WebAssembly pages](Semantics.md#linear-memory).