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

NextPrevUpTopContentsIndex

:long

FLI type descriptor
Summary

Converts between a Lisp integer and a C long .

Syntax

:long &optional integer-type

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

Arguments

integer-type

One of :int , :double , or :long .

Description

The FLI :long type 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 type

FLI type

C 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
Integral types


LispWorks Foreign Language Interface User Guide and Reference Manual - 7 Dec 2011

NextPrevUpTopContentsIndex