aboutsummaryrefslogtreecommitdiff
path: root/Modules.md
diff options
context:
space:
mode:
authorsuphanat <haxx.pop@gmail.com>2016-02-05 17:16:51 +0700
committersuphanat <haxx.pop@gmail.com>2016-02-05 17:16:51 +0700
commit0869580c8b566aea03d709e30dddd31fdad45973 (patch)
tree4977d6ae5212a8616d063da408f71be4680fd652 /Modules.md
parenta72a05c29f2a989e5d05a0214c9ad1f6d52412c5 (diff)
downloadnanowasm-design-0869580c8b566aea03d709e30dddd31fdad45973.tar.gz
Change start to receive any function index to be its start function
Diffstat (limited to 'Modules.md')
-rw-r--r--Modules.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules.md b/Modules.md
index f623f55..da2a4ab 100644
--- a/Modules.md
+++ b/Modules.md
@@ -140,11 +140,11 @@ For example, a start node in a module will be:
or
-```(start 0)```
+```(start <int>)```
In the first example, the environment is expected to call the function $start_function
before calling any other module function. In the second case, the environment is
-expected to call the module function indexed 0.
+expected to call the module function indexed <int> (this index starts from 0).
A module can:
* Only have at most a start node