diff options
| author | Luke Wagner <mail@lukewagner.name> | 2016-11-03 08:37:25 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-03 08:37:25 -0500 |
| commit | 97b4ec76ff6360c59669be5838bb329988f64a25 (patch) | |
| tree | 5688aa448363fd88b70a20a84d6f500d60dbf2b3 /BinaryEncoding.md | |
| parent | 18cbacb90cd3584dd5c9aa3d392e4e55f66af6ab (diff) | |
| download | nanowasm-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.md | 7 |
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 |
