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.
- val.h (under-construction):
- bind.h (under-construction):
A tracing API for doing memory usage analysis.
API for using WebVR from native code.
API for working with Fibers (co-operative threads)
APIs for advanced users/core developers.