aboutsummaryrefslogtreecommitdiff
path: root/Modules.md
diff options
context:
space:
mode:
authorsuphanat <haxx.pop@gmail.com>2016-02-05 17:54:12 +0700
committersuphanat <haxx.pop@gmail.com>2016-02-05 17:54:12 +0700
commita6fb8831c30753206ff068eca8643be63b42e6d3 (patch)
treed6e7678bd456cc7f93b066373647b0bdbb75ed67 /Modules.md
parent71683f2c83eb27df8a91f8b98563f701a7e3208d (diff)
downloadnanowasm-design-a6fb8831c30753206ff068eca8643be63b42e6d3.tar.gz
Change <int> to 42
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 c7aed84..b303edd 100644
--- a/Modules.md
+++ b/Modules.md
@@ -140,11 +140,11 @@ For example, a start node in a module will be:
or
-```(start <int>)```
+```(start 42)```
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 `<int>` (this index starts from 0).
+expected to call the module function indexed 42. This number is the function index starting from 0 (same as for `export`).
A module can:
* Only have at most a start node