Mimallocator.reallocate

Re-allocate memory to newsize bytes.

struct Mimallocator
@system @nogc pure nothrow shared
bool
reallocate
(
ref void[] b
,
size_t newSize
)

Parameters

b void[]

The array to be reallocated.

newSize size_t

The new size that the array will take.

Return Value

Type: bool

true if the reallocatiom was successful, false if the allocator has failed.

Meta