Home > dev > api > name > gb.alloc 
 en fr de es it nl pl pt pt_BR mk sq ca hu tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
GB.Alloc
void GB.Alloc ( void **addr , long len )

Allocates a memory block.

You should use this function instead of malloc() 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