A sequence of one or more symbols naming the elements of the enumeration.
A symbol naming an element of the enumeration.
An integer specifying the value of symbol.
The FLI :enum
type converts between a Lisp symbol and the C enum
type. Each entry in the enum-constants can either consist of a symbol, in which case the first entry has a value 0, or of a list of a symbol and its corresponding integer value.
See define-c-enum, for an example using the :enum
type.
LispWorks Foreign Language Interface User Guide and Reference Manual - 29 Sep 2017