diff options
| author | suphanat <haxx.pop@gmail.com> | 2016-02-05 17:16:51 +0700 |
|---|---|---|
| committer | suphanat <haxx.pop@gmail.com> | 2016-02-05 17:16:51 +0700 |
| commit | 0869580c8b566aea03d709e30dddd31fdad45973 (patch) | |
| tree | 4977d6ae5212a8616d063da408f71be4680fd652 /Modules.md | |
| parent | a72a05c29f2a989e5d05a0214c9ad1f6d52412c5 (diff) | |
| download | nanowasm-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.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
