MemoryHeap::Realloc

MemoryHeap::Realloc
virtual void* Realloc(void* oldPtr, UPInt newSize) = 0;
Description

Realloc reallocates memory set by Alloc. Realloc does not support custom alignment specified during allocation.

Parameters
Parameters 
Description 
void* oldPtr 
Pointer to the block to be reallocated. 
UPInt newSize 
New size of the memory block. 
Return Value

Pointer to the reallocated block of memory.