void* vm_realloc( void* ptr, VMUINT size );
void* vm_realloc( void* ptr, VMUINT size );
Reallocates the specified size of memory for the memory already allocated before. The content of the memory will be "copied".
|
Parameters |
Description |
|
void* ptr |
[IN] The pointer to the memory to be copied. If allocation succeeds, the memory pointed to by the ptr will be freed. |
|
VMUINT size |
[IN] The number of bytes to be allocated. |
A pointer to the memory allocated. Returns NULL if allocation failed, and
the memory pointed to by the ptr will not be freed.
vmmemory.h
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.