fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Home > api > name > gb.realloc
 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
Documentation
History
 
GB.Realloc
Syntax
void GB.Realloc ( void **addr , long len )

Shrinks or expands a previously allocated memory block.

You should use this function instead of realloc() if you need to allocate memory, as this function raises an error if the allocation failed, and the interpreter will tell you if you forgot to release an allocation.

See also

Memory Management