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

Function mi_heap_malloc

system/lib/mimalloc/src/alloc.c:258–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258mi_decl_nodiscard mi_decl_restrict void* mi_heap_malloc(mi_heap_t* heap, size_t size) mi_attr_noexcept {
259 return mi_theap_malloc_zero_nonnull(_mi_heap_theap(heap), size, false, 0, NULL);
260}
261
262
263// zero initialized small block

Callers 2

mi_heap_mallocnFunction · 0.85
mi_heap_alloc_newFunction · 0.85

Calls 2

_mi_heap_theapFunction · 0.85

Tested by

no test coverage detected