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

Function mi_umalloc

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

Source from the content-addressed store, hash-verified

312}
313
314mi_decl_nodiscard mi_decl_restrict void* mi_umalloc(size_t size, size_t* usable) mi_attr_noexcept {
315 return mi_theap_umalloc(_mi_theap_default(), size, usable);
316}
317
318mi_decl_nodiscard mi_decl_restrict void* mi_uzalloc(size_t size, size_t* usable) mi_attr_noexcept {
319 return _mi_theap_malloc_zero_ex(_mi_theap_default(), size, true, 0, usable);

Callers

nothing calls this directly

Calls 2

mi_theap_umallocFunction · 0.85
_mi_theap_defaultFunction · 0.85

Tested by

no test coverage detected