|
DOF_PCR_DECLSPEC void* PCRMem_Realloc |
( |
void * |
mem, |
|
|
uint32 |
size |
|
) |
| |
Change the allocated size of a block of memory.
- Parameters
-
mem | Pointer to the memory to be freed. Must not be NULL. |
size | The 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
|