Mimallocator.reallocate

Re-allocate memory to newsize bytes.

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

Parameters

b
Type: void[]

The array to be reallocated.

newSize
Type: 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