Reallocates memory that was previously allocated.
void* Realloc (void* aPtr,PRUint32 nBytes)=0;
The method has the following parameter:
aPtr |
A pointer to previously allocated memory. |
nBytes |
The size in bytes of the memory to be allocated. |
A pointer to the allocated memory on success, or NULL on failure.
Use this method in the same way as its C or C++ counterpart to reallocate memory that was previously allocated.