MCPcopy Create free account
hub / github.com/GoogleChrome/samples / _malloc

Function _malloc

mkbitmap/mkbitmap.js:392–394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

390// We used to include malloc/free by default in the past. Show a helpful error in
391// builds with assertions.
392function _malloc() {
393 abort("malloc() called but not included in the build - add '_malloc' to EXPORTED_FUNCTIONS");
394}
395function _free() {
396 // Show a helpful error since we used to include free by default in the past.
397 abort("free() called but not included in the build - add '_free' to EXPORTED_FUNCTIONS");

Callers 2

allocateUTF8Function · 0.85
allocateFunction · 0.85

Calls 1

abortFunction · 0.70

Tested by

no test coverage detected