One of
:cons
,
:symbol
,
:function
,
:non-pointer
and
:other
.
An integer in the inclusive range [0,7], or
nil
.
A function designator.
The arguments passed to func .
The function
apply-with-allocation-in-gen-num
applies the function
func
to
args
such that objects of allocation type
what
are allocated in generation
gen-num
, in 64-bit LispWorks.
See also the keyword
:allocation
to make-array, which catches the most common cases.
It is probably quite rare that it is useful to use this function, unless the function allocates a lot, and you are certain that every object that is allocated of the allocation type is long-lived, which is normally difficult to tell.
Note that allocation of interned symbols is controlled separately by *symbol-alloc-gen-num*.
Note: In 32-bit LispWorks the argument what is ignored and the effect is like that of the macro allocation-in-gen-num.