next up previous
Next: Debugging Foreign Code Up: Notes on Using Previous: Garbage Collection and

Memory Allocation

SWI-Prolog's memory allocation is based on the malloc() library routines. Foreign applications can savely use malloc(), realloc() and free(). Memory allocation using brk() or sbrk() is not allowed as these calls conflict with malloc().



Passani Luca
Tue Nov 14 08:58:33 MET 1995