Returns the current generation number for an object.
system
generation-number object => integer
object⇩ |
A Lisp object. |
integer |
An integer. |
The function generation-number
returns the generation number in which the Lisp object object currently is. See the discussion in 11 Memory Management.
If object is an immediate object then generation-number
returns -1. Immediates are objects which are not allocated, including fixnums, characters and short floats, and single floats in 64-bit LispWorks.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:02