diff options
| author | suphanat <haxx.pop@gmail.com> | 2016-02-05 17:54:12 +0700 |
|---|---|---|
| committer | suphanat <haxx.pop@gmail.com> | 2016-02-05 17:54:12 +0700 |
| commit | a6fb8831c30753206ff068eca8643be63b42e6d3 (patch) | |
| tree | d6e7678bd456cc7f93b066373647b0bdbb75ed67 /Modules.md | |
| parent | 71683f2c83eb27df8a91f8b98563f701a7e3208d (diff) | |
| download | nanowasm-design-a6fb8831c30753206ff068eca8643be63b42e6d3.tar.gz | |
Change <int> to 42
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 <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 |
