OpenDOF Project
DOF_PCR_DECLSPEC void* PCRMem_Realloc ( void *  mem,
uint32  size 
)

Change the allocated size of a block of memory.

Parameters
memPointer to the memory to be freed. Must not be NULL.
sizeThe new size of the allocated memory block. It may be larger or smaller than the original allocated size. This must be greater than 0.
Resource Management:
This function allocates resources that must later be freed by calling PCRMem_Free.
Returns
The pointer to the newly allocated memory, or NULL if the reallocation failed.
See Also
PCRMem_Alloc
PCRMem_Free
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22