diff options
| author | Luke Wagner <mail@lukewagner.name> | 2016-04-21 16:55:59 -0500 |
|---|---|---|
| committer | Luke Wagner <mail@lukewagner.name> | 2016-04-21 16:55:59 -0500 |
| commit | 477274504ea60c2f06ee195bff36c71d24aefaf8 (patch) | |
| tree | 834deee10783d9d9784dc5bf2fce73f34aba7ee6 /BinaryEncoding.md | |
| parent | abb6c9b715579045696ff8e72f4d2ab542c34d9d (diff) | |
| download | nanowasm-design-477274504ea60c2f06ee195bff36c71d24aefaf8.tar.gz | |
Rename fields in memory section (#661)
* Rename fields in memory section
Does not affect the spec, but I think `initial` is a better name than `minimum` since the `initial` isn't necessarily the `minimum` if, in the future, we were to add a `shrink_memory` + `minimum` (which could be <= `initial`). The PR also renames `max` to be more consistent with other names in this file.
* Update BinaryEncoding.md
Diffstat (limited to 'BinaryEncoding.md')
| -rw-r--r-- | BinaryEncoding.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md index 3030270..73d9373 100644 --- a/BinaryEncoding.md +++ b/BinaryEncoding.md @@ -178,8 +178,8 @@ associated with the module. | Field | Type | Description | | ----- | ----- | ----- | -| min_mem_pages | `varuint32` | minimize memory size in 64KiB pages | -| max_mem_pages | `varuint32` | maximum memory size in 64KiB pages | +| initial | `varuint32` | initial memory size in 64KiB pages | +| maximum | `varuint32` | maximum memory size in 64KiB pages | | exported | `uint8` | `1` if the memory is visible outside the module | ### Export Table section |
