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

Function _malloc

src/preamble.js:86–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84// builds with assertions.
85#if !hasExportedSymbol('malloc')
86function _malloc() {
87 abort('malloc() called but not included in the build - add `_malloc` to EXPORTED_FUNCTIONS');
88}
89#endif // malloc
90#if !hasExportedSymbol('free')
91function _free() {

Callers 15

Fetch.jsFile · 0.70
libglfw.jsFile · 0.50
libbrowser.jsFile · 0.50
libwebgl.jsFile · 0.50
libsdl.jsFile · 0.50
libhtml5.jsFile · 0.50
liblegacy.jsFile · 0.50
toWireTypeFunction · 0.50
libembind.jsFile · 0.50
libasync.jsFile · 0.50
libwebsocket.jsFile · 0.50
libglemu.jsFile · 0.50

Calls 1

abortFunction · 0.70

Tested by

no test coverage detected