Home / api / name / gb.alloc 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
fr  de  es  it  nl  pl  pt  pt_BR  ca  ar  fa  vi  ja  ru  zh  zh_TW  eo 
Documentation
History
 
GB.Alloc
Syntax
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