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

Function mspace_independent_comalloc

system/lib/dlmalloc.c:5936–5944  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5934}
5935
5936void** mspace_independent_comalloc(mspace msp, size_t n_elements,
5937 size_t sizes[], void* chunks[]) {
5938 mstate ms = (mstate)msp;
5939 if (!ok_magic(ms)) {
5940 USAGE_ERROR_ACTION(ms,ms);
5941 return 0;
5942 }
5943 return ialloc(ms, n_elements, sizes, 0, chunks);
5944}
5945
5946size_t mspace_bulk_free(mspace msp, void* array[], size_t nelem) {
5947 return internal_bulk_free((mstate)msp, array, nelem);

Callers

nothing calls this directly

Calls 1

iallocFunction · 0.85

Tested by

no test coverage detected