SysAlloc::Realloc

SysAlloc::Realloc
virtual void* Realloc(void* oldPtr, UPInt oldSize, UPInt newSize, UPInt align) = 0;
Description

Realloc reallocates a memory block allocated by Alloc to a new size.

Parameters
Parameters 
Description 
void* oldPtr 
Pointer to the memory block which is to be reallocated. 
UPInt oldSize 
Original size of the block of memory. 
UPInt newSize 
New required size of the block. 
UPInt align 
Value of zero or power of two for memory address alignment, if supported. 
Return Value

A Boolean value of true if reallocation succeeds; otherwise false.