Function libmimalloc_sys::mi_heap_contains_block
source · [−]Expand description
Does a heap contain a pointer to a previously allocated block?
p must be a pointer to a previously allocated block (in any heap) – it cannot be some
random pointer!
Returns true if the block pointed to by p is in the heap.
See mi_heap_check_owned.