From 97b4ec76ff6360c59669be5838bb329988f64a25 Mon Sep 17 00:00:00 2001 From: Luke Wagner Date: Thu, 3 Nov 2016 08:37:25 -0500 Subject: 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 --- BinaryEncoding.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'BinaryEncoding.md') 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 -- cgit v1.2.3