From d526cfe79639b43380bacbdc1955344c880780a6 Mon Sep 17 00:00:00 2001 From: Ben Smith Date: Fri, 23 Oct 2015 12:00:33 -0700 Subject: Define export names --- Modules.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Modules.md') 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, -- cgit v1.2.3