summaryrefslogtreecommitdiff
path: root/test/binaryen.js/call_import_error.js
Commit message (Collapse)AuthorAgeFilesLines
* Unify imported and non-imported things (#1678)Alon Zakai2018-09-191-13/+0
| | | | | | | | | | | | | | Fixes #1649 This moves us to a single object for functions, which can be imported or nor, and likewise for globals (as a result, GetGlobals do not need to check if the global is imported or not, etc.). All imported things now inherit from Importable, which has the module and base of the import, and if they are set then it is an import. For convenient iteration, there are a few helpers like ModuleUtils::iterDefinedGlobals(wasm, [&](Global* global) { .. use global .. }); as often iteration only cares about imported or defined (non-imported) things.
* Provide AddImport/AddExport for each element in the C-API (#1292)Daniel Wirtz2017-11-221-2/+2
| | | | * Provide AddImport/AddExport for each element in the C-API
* add docs and error hints when a Call should be a CallImport (#1081)Alon Zakai2017-07-111-0/+13
* add docs and error hints when a Call should be a CallImport * fix binaryen API docs in docs/