formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Memory
Description
Reallocates memory. This will reallocate memory allocated by fzrt_new_ptr, in a more robust way but it may potentially move memory and change the pointer value. Any copies of the pointer will be invalid, in this case.
Plugin Prototype
fzrt_error_td fzrt_realloc_mem(
void ** | ptr, |
fzrt_unsigned_int | newsize ) |
Parameters
ptr [Input, Result]
pointer to memory allocated by fzrt_new_ptr on exit contains pointer to reallocated memory
newsize [Input]
desired size of new memory block
Returns
FZRT_NOERR if successful, error ID otherwise
Availability
5.0.0.0
See Also
Function Set
Defined in