MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / addAtInit

Function addAtInit

src/parseTools.mjs:817–819  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

815// runtime `onInits` callbacks.
816export const ATINITS = [];
817function addAtInit(code) {
818 ATINITS.push(code);
819}
820
821// Add code to run after static constructors, but before main (if applicable).
822// The code will be executed after the runtime `onPostCtors` callbacks.

Callers 4

libtty.jsFile · 0.85
libsockfs.jsFile · 0.85
libfs.jsFile · 0.85
libpipefs.jsFile · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected