aboutsummaryrefslogtreecommitdiff
path: root/Modules.md
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2015-10-23 12:00:33 -0700
committerBen Smith <binji@chromium.org>2015-10-23 13:43:21 -0700
commitd526cfe79639b43380bacbdc1955344c880780a6 (patch)
tree518ff7e5f53b005f7913a46ad783a36f05493ed7 /Modules.md
parent10ba4e8fe2c780b364e87c5d23dea464184c390f (diff)
downloadnanowasm-design-d526cfe79639b43380bacbdc1955344c880780a6.tar.gz
Define export names
Diffstat (limited to 'Modules.md')
-rw-r--r--Modules.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules.md b/Modules.md
index 222909b..1bcbe45 100644
--- a/Modules.md
+++ b/Modules.md
@@ -39,7 +39,8 @@ A module defines a set of functions in its
these functions to be **exports**. The meaning of exports (how and when they are
called) is defined by the host environment. For example, a minimal shell
environment might only probe for and call a `_start` export when given a module
-to execute.
+to execute. Exports are exported by name, where the name is an arbitrary byte
+string of a given length. The host may need to mangle these names.
A module can declare a set of **imports**. An import is a tuple containing a
module name, the name of an exported function to import from the named module,