aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorLuke Wagner <mail@lukewagner.name>2016-11-03 08:37:25 -0500
committerGitHub <noreply@github.com>2016-11-03 08:37:25 -0500
commit97b4ec76ff6360c59669be5838bb329988f64a25 (patch)
tree5688aa448363fd88b70a20a84d6f500d60dbf2b3 /BinaryEncoding.md
parent18cbacb90cd3584dd5c9aa3d392e4e55f66af6ab (diff)
downloadnanowasm-design-97b4ec76ff6360c59669be5838bb329988f64a25.tar.gz
Clarify names section indexing (#859)
* Clarify names section indexing * Fix broken link * Link start-section to Modules.md#function-index-space link * Explicate index spaces * Periods
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index ed8daae..e242b0d 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -357,7 +357,7 @@ The start section declares the [start function](Modules.md#module-start-function
| Field | Type | Description |
| ----- | ---- | ----------- |
-| index | `varuint32` | start function index |
+| index | `varuint32` | start [function index](Modules.md#function-index-space) |
### Element section
@@ -427,8 +427,9 @@ and locals in the [text format](TextFormat.md).
| entries | `function_names*` | sequence of names |
The sequence of `function_names` assigns names to the corresponding
-function index. The count may be greater or less than the actual number of
-functions.
+[function index](Modules.md#function-index-space). (Note: this assigns names to both
+imported and module-defined functions.) The count may be greater or less than
+the actual number of functions.
#### Function names