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

NextPrevUpTopContentsIndex

:short

FLI type descriptor
Summary

Converts between a Lisp fixnum type and a C short type.

Syntax

:short &optional integer-type

integer-type ::= :int

Arguments

integer-type

If specified, must be :int, which associates a Lisp fixnum with a C int.

Description

The FLI :short type associates a Lisp fixnum with a C short.

The FLI types :short, (:short :int), (:signed :short), and (:signed :short :int) are equivalent.

See also

:int
:signed
Integral types


LispWorks Foreign Language Interface User Guide and Reference Manual - 16 Feb 2015

NextPrevUpTopContentsIndex