This section lists Emscripten’s public API, organised by header file. At a very
high level it consists of:
APIs for integrating with the browser environment.
Low level glue bindings for interfacing with HTML5 APIs from native code.
- 文件系统API (library_fs.js):
APIs for managing file systems and synchronous file operations.
- Fetch API:
API for managing accesses to network XHR and IndexedDB.
- Wasm Workers API:
Enables writing multithreaded programs using a web-like API.
- bind.h (under-construction):
Embind API for binding C++ functions and classes so that they can be called
A tracing API for doing memory usage analysis.
API for working with Fibers (co-operative threads)
API for synchronously or asynchronously proxying work to a target pthread.
APIs for advanced users/core developers.