aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authortitzer <titzer@google.com>2016-02-09 10:31:51 +0100
committertitzer <titzer@google.com>2016-02-09 10:31:51 +0100
commiteaf8d098eef082c5b28baacb70388f6767d8887b (patch)
tree5e2d17ebf73c9a5e07ef5f874dcd3b9059f01799 /BinaryEncoding.md
parent550cd2938dbc054beb099391479cfb8e8a0523e7 (diff)
downloadnanowasm-design-eaf8d098eef082c5b28baacb70388f6767d8887b.tar.gz
Update BinaryEncoding.md
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index a2726ff..d2ea66a 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -125,10 +125,10 @@ must contain a function body. Imported and exported functions must have a name.
| flags | `uint8` | always | flags indicating attributes of a function <br>bit `0` : a name is present<br>bit `1` : the function is an import<br>bit `2` : the function has local variables<br>bit `3` : the function is an export |
| signature | `uint16` | always | index into the Signature section |
| name | `uint32` | `flags[0] == 1` | name of the function as an offset within the module |
-| i32 count | `uint16` | `flags[2] == 1` | number of i32 local variables |
-| i64 count | `uint16` | `flags[2] == 1` | number of i64 local variables |
-| f32 count | `uint16` | `flags[2] == 1` | number of f32 local variables |
-| f64 count | `uint16` | `flags[2] == 1` | number of f64 local variables |
+| i32 count | `uint16` | `flags[2] == 1` | number of `i32` local variables |
+| i64 count | `uint16` | `flags[2] == 1` | number of `i64` local variables |
+| f32 count | `uint16` | `flags[2] == 1` | number of `f32` local variables |
+| f64 count | `uint16` | `flags[2] == 1` | number of `f64` local variables |
| body size | `uint16` | `flags[0] == 0` | size of function body to follow, in bytes |
| body | `bytes` | `flags[0] == 0` | function body |