NextPrevUpTopContentsIndex

:unsigned

FLI type descriptor
Summary

Converts between a Lisp integer and a foreign unsigned integer.

Package

fli

Syntax

:unsigned &optional integer-type

integer-type
 ::= :byte | :char | :short | :int |
              :long | :long :int | :short :int
Arguments

integer-type

The type of the unsigned integer.

Description

The :unsigned type converts between a Lisp integer and a foreign unsigned integer. The optional integer-type argument specifies other kinds of unsigned integer types. See Table A comparison of Lisp and C unsigned types for a comparison between Lisp and C unsigned types.

A comparison of Lisp and C unsigned types

Lisp type

FLI type

C type

integer

:unsigned

unsigned int

fixnum

:unsigned :byte

unsigned char

fixnum

:unsigned :char

unsigned char

fixnum

:unsigned :short

unsigned short

integer

:unsigned :int

unsigned int

integer

:unsigned :long

unsigned long

fixnum

:unsigned :short :int

unsigned short

integer

:unsigned :long :int

unsigned long

See also

:signed


LispWorks Foreign Language Interface User Guide and Reference Manual - 27 Mar 2005

NextPrevUpTopContentsIndex