aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index 91f1094..2f23e89 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -554,7 +554,7 @@ Custom section `name` field: `"nw_fti"`
The NanoWasm function type index section is a
[custom section](#high-level-structure). It is therefore encoded with id `0`
-followed by the name string `"nw_ft"`. It is meant as a
+followed by the name string `"nw_fti"`. It is meant as a
[NanoWasm](#NanoWasm.md) extension to the MVP that allows NanoWasm-compatible
interpreters to quickly retrieve the type index of a function, without having
to read the [function section](#function-section) or keep this information
@@ -562,7 +562,7 @@ in-memory.
| Field | Type | Description |
| ----- | ---- | ----------- |
-| offset | uint32* | Type index, as expressed by the [function section](#function-section), encoded as little-endian
+| index | uint32* | Type index, as expressed by the [function section](#function-section), encoded as little-endian
### NanoWasm function body offset section