Integral types are the FLI types that represent integers. They consist of the following: :int
, :byte
, :long
, :short
, :signed
, :unsigned
and :enum
.
Integral types can be combined in a list for readability and compatibility purposes with the foreign language, although when translated to Lisp such combinations are usually returned as a Lisp integer
, or a fixnum
for byte sized combinations. For example, a C unsigned long
can be represented in the FLI as an (:unsigned :long)
.