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

Function addAtPostCtor

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

Source from the content-addressed store, hash-verified

822// The code will be executed after the runtime `onPostCtors` callbacks.
823export const ATPOSTCTORS = [];
824function addAtPostCtor(code) {
825 ATPOSTCTORS.push(code);
826}
827
828// Add code to run right before main is called. This is only available if the
829// the Wasm module has a main function. The code will be executed after the

Callers 2

libfs.jsFile · 0.85
libembind_gen.jsFile · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected