All Manuals > Foreign Language Interface User Guide and Reference Manual > 8 Type Reference

:long FLI Type Descriptor

Summary

Converts between a Lisp integer and a C long.

Package

keyword

Syntax

:long &optional integer-type

integer-type ::= :int | :double | :long

Arguments
Description

The FLI type :long converts between the Lisp integer type and the C long type. See A comparison between Lisp and C long types for comparisons between Lisp and C long types.

A comparison between Lisp and C long types
Lisp typeFLI typeC type

integer

:long

long

integer

:long :int

long

integer

:long :double

long double

integer

:long :long
:long-long

long long

See also

:int
:long-long
:short
2.1.1 Integral types


Foreign Language Interface User Guide and Reference Manual - 01 Dec 2021 19:34:59