MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / mi_is_in_heap_region

Function mi_is_in_heap_region

3rd/mimalloc-2.0.9/src/segment-cache.c:387–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387mi_decl_nodiscard mi_decl_export bool mi_is_in_heap_region(const void* p) mi_attr_noexcept {
388 return mi_is_valid_pointer(p);
389}
390
391/*
392// Return the full segment range belonging to a pointer

Callers

nothing calls this directly

Calls 1

mi_is_valid_pointerFunction · 0.85

Tested by

no test coverage detected