API Reference > Functions > odrxRealloc Function
odrxRealloc Function
Syntax
C++
ALLOCDLL_EXPORT void* odrxRealloc(void* pMemBlock, size_t newSize, size_t oldSize);

OdAlloc.h

Parameters 
Description 
void* pMemBlock 
[in] Pointer to the previously allocated memory block.  
size_t newSize 
[in] New size in bytes.  
size_t oldSize 
[in] Old size in bytes. 

Returns a pointer to the newly allocated memory block.

Reallocates a block of memory.

Memory Management

Copyright © 2002–2020. Open Design Alliance. All rights reserved.