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

Function addAtPreRun

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

Source from the content-addressed store, hash-verified

807// be executed after the runtime `onPreRuns` callbacks.
808export const ATPRERUNS = [];
809function addAtPreRun(code) {
810 ATPRERUNS.push(code);
811}
812
813// Add code to run after the Wasm module is loaded, but before static
814// constructors and main (if applicable). The code will be executed after the

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected