OLD | NEW |
1 Mojo Embedder API | 1 Mojo Embedder API |
2 ================= | 2 ================= |
3 | 3 |
4 The Mojo Embedder API is an unstable, internal API to the Mojo system | 4 The Mojo Embedder API is an unstable, internal API to the Mojo system |
5 implementation. It should be used by code running on top of the system-level | 5 implementation. It should be used by code running on top of the system-level |
6 APIs to set up the Mojo environment (instead of directly instantiating things | 6 APIs to set up the Mojo environment (instead of directly instantiating things |
7 from src/mojo/edk/system). | 7 from src/mojo/edk/system). |
8 | 8 |
9 Example uses: Mojo shell, to set up the Mojo environment for Mojo apps; Chromium | 9 Example uses: Mojo shell, to set up the Mojo environment for Mojo apps; Chromium |
10 code, to set up the Mojo IPC system for use between processes. Note that most | 10 code, to set up the Mojo IPC system for use between processes. Note that most |
11 code should use the Mojo Public API (under src/mojo/public) instead. The | 11 code should use the Mojo Public API (under src/mojo/public) instead. The |
12 Embedder API should only be used to initialize the environment, set up the | 12 Embedder API should only be used to initialize the environment, set up the |
13 initial MessagePipe between two processes, etc. | 13 initial MessagePipe between two processes, etc. |
OLD | NEW |