GB.Alloc

void GB.Alloc ( void ** addr , long len )

Allocates memory.

addr will receive the address of the allocated memory block.

len is the amount of bytes to allocate.

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