Reallocates a memory block.
Source position: cmem.pp line 55
function ReAlloc( |
P: Pointer; |
Size: PtrUInt |
):pointer; |
P |
|
Pointer to the old block. |
Size |
|
New size for the memory block. |
A pointer to the new memory block.
ReAlloc re-allocates a block of memory pointed to by p. The new block will have size Size, and as much data as was available or as much data as fits is copied from the old to the new location.
|
Malloc external declaration. |
|
|
Free a previously allocated block. |