4.1.7 Passing foreign and Lisp data types

4.1.7.6 Passing Lisp data to Pascal functions

Use Table 4.8 to find out about passing Lisp data as arguments to a Pascal function or returning data from Lisp to a Pascal function.

Passing Lisp data to Pascal functions
Lisp TypePascal Data TypeCall Discipline
(unsigned-byte 32):unsigned-32bit:value
(signed-byte 32):signed-32bit:value
fixnum:fixnum:value
float:single-float:value
float:double-float:value
foreign-pointer:pointer:reference
foreign-pointer(:pointer foreign-type):reference
coercible-to-foreign-array:array:reference
(simple-array
(not string-char) 1)
:simple-vector-type:reference
simple-string:simple-string:reference
pascal-string-type:string:reference
character:character:value
t:boolean:value
t:lisp:value
(or
fixnum
float
integer
character
foreign-pointer
fortran-string-type
coercible-to-foreign-array)
:arbitrarynil


The Advanced User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker