diff options
| author | Ben Smith <binjimin@gmail.com> | 2015-10-23 12:00:33 -0700 |
|---|---|---|
| committer | Ben Smith <binji@chromium.org> | 2015-10-23 13:43:21 -0700 |
| commit | d526cfe79639b43380bacbdc1955344c880780a6 (patch) | |
| tree | 518ff7e5f53b005f7913a46ad783a36f05493ed7 /Modules.md | |
| parent | 10ba4e8fe2c780b364e87c5d23dea464184c390f (diff) | |
| download | nanowasm-design-d526cfe79639b43380bacbdc1955344c880780a6.tar.gz | |
Define export names
Diffstat (limited to 'Modules.md')
| -rw-r--r-- | Modules.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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, |
