Mimallocator.resolveInternalPointer

Resolves a pointer to get the full memory block.

struct Mimallocator
@trusted @nogc pure nothrow shared
Ternary
resolveInternalPointer
(
const void* p
,
ref void[] result
)

Parameters

p void*

The pointer to resolve.

result void[]

The array with the full memory block.

Return Value

Type: Ternary

Ternary.no if the memory is managed to other allocators otherwise Ternary.yes.

Meta