4.1.7 Passing foreign and Lisp data types

4.1.7.1 Passing C data to Lisp functions

Use Table 4.3 to find out about passing C data to a Lisp function or returning data from a C function to Lisp.

Passing C data to Lisp functions
C Data TypeLisp Type Call Discipline
:unsigned-32bit(unsigned-byte 32):value
:signed-32bit(signed-byte 32):value
:unsigned-64bit(unsigned-byte 64):value
:signed-64bit(signed-byte 64):value
:fixnumfixnum:value
:single-floatfloat:value
:double-floatfloat:value
:pointerforeign-pointer:reference
(:pointer foreign-type)foreign-pointer:reference
:simple-stringsimple-string:reference
:charactercharacter:value
:booleant:value
:lispt:value
:nullnilnil


The Advanced User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker