ec_mt_realloc — Reallocate memory against a given memtype
void * **ec_mt_realloc** ( | def, | |
| | old, | |
| | oldsize, | |
| | size
); | |
**Configuration Change. ** This feature is available starting from Momentum 3.0.18.
Reallocate memory against a given memtype.
This performs a raw reallocation from the allocator backend. Do not call this function directly, ec_realloc will call it at the appropriate time.
Fixed sized allocations are never resized.
The memory type. For more information about memory types see Memory Types.
A void pointer to the old memory location.
The old memory size..
The new memory size.