FLI type descriptor
fli
:boolean &optional encapsulates
An integral type.
:boolean
type converts between a Lisp boolean value and a C representation of a boolean value. The encapsulates option is used to specify the size of the value from which the boolean value is obtained. For example, if abyte
is used in C to represent a boolean, the size to map across for the FLI will be one byte, but if anint
is used, then the size will be four bytes. 0
in C represents anil
boolean value in Lisp, and a non-zero value in C represents at
boolean value in Lisp. :boolean
, a(:boolean :int)
and a(:boolean :byte)
are returned. (fli:size-of :boolean) (fli:size-of '(:boolean :int)) (fli:size-of '(:boolean :byte))
size-of