From b4525659723e42fac2f44322f413e2cfc026d387 Mon Sep 17 00:00:00 2001 From: JF Bastien Date: Wed, 14 Dec 2016 09:08:25 -0800 Subject: Start function clarifications (#905) * Start function clarifications Resolves #896. * Clarify --- Modules.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Modules.md') diff --git a/Modules.md b/Modules.md index 18b1756..4d3b6bd 100644 --- a/Modules.md +++ b/Modules.md @@ -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: -- cgit v1.2.3