Next Previous Up Top Contents Index

6 Type Reference

: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 6.3 for a comparison between Lisp and C unsigned types.

Table 6.3 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 - 12 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker