diff options
| author | JF Bastien <github@jfbastien.com> | 2016-12-14 09:08:25 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-14 09:08:25 -0800 |
| commit | b4525659723e42fac2f44322f413e2cfc026d387 (patch) | |
| tree | 2e8acaa10bf42a29d80a04f4fa589d3b5cdde49d /Modules.md | |
| parent | 2ae114414ffcc7d84cbf3eb9df27f82e0edc00fa (diff) | |
| download | nanowasm-design-b4525659723e42fac2f44322f413e2cfc026d387.tar.gz | |
Start function clarifications (#905)
* Start function clarifications
Resolves #896.
* Clarify
Diffstat (limited to 'Modules.md')
| -rw-r--r-- | Modules.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -175,12 +175,12 @@ to allow *explicitly* sharing state between module instances. ## Module start function If the module has a start node defined, the function it refers should be called -by the loader after the instance is initialized and before the exported functions -are called. +by the loader after the instance is initialized, including its Memory and Table +though Data and Element sections, and before the exported functions are callable. * The start function must not take any arguments or return anything -* The function is identified by [function index](#function-index-space) and can also be - exported +* The function is identified by [function index](#function-index-space), can be + an import, and can also be exported * There can only be at most one start node per module For example, a start node in a module will be: |
