NuMallocHeap.realloc

Attempts to reallocate an existing memory allocation on the heap.

class NuMallocHeap
@nogc override
void*
realloc
(,
size_t bytes
)

Parameters

allocation void*

The original allocation

bytes size_t

The new size of the allocation, in bytes.

Return Value

Type: void*

A pointer to the memory allocated on the heap. null if the operation failed.

Meta