The FLI provides the:boolean
type to interface a Lisp boolean value (t
ornil
) with a Cint
(0 corresponding tonil
, and any other value corresponding tot)
. The:boolean
type can be modified to make it correspond with other C types. For example,(:boolean :byte
) would associate a Lisp boolean with a Cbyte
, and(:boolean :long)
would associate a Lisp boolean with a Clong
.