Documentation
Allocates a block of the requested size and returns
the heap position of that block. If the free list is full and EXPAND
is true, the system will try to expand the free list; otherwise it
returns nil.
As a second value, ALLOCATE-BLOCK returns the number of octets that
were allocated.
Note: both the requested size and the returned heap position include
the block's header.
Source
(defgeneric allocate-block (heap &key size expand)
(:documentation "Allocates a block of the requested size and returns
the heap position of that block. If the free list is full and EXPAND
is true, the system will try to expand the free list; otherwise it
returns nil.
As a second value, ALLOCATE-BLOCK returns the number of octets that
were allocated.
Note: both the requested size and the returned heap position include
the block's header."))
Source Context