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

:short FLI Type Descriptor

Summary

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

Package

keyword

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 type :short 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
2.1.1 Integral types


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