2 Data Types and Type Specifiers
2.2 Foreign data types
The Foreign Function Interface has been modified to pass the new character and string data types from Lisp to foreign functions and vice versa. The following changes have been made to the correspondence between C and Pascal data types and Lisp data types:
- The foreign data type
:simple-string
now corresponds to the Lisp typesimple-base-string
rather than tosimple-string
. - The foreign data type
:character
now corresponds to the Lisp typebase-character
rather than tocharacter
.
For the SunOS and Solaris platforms, Table 2.3 shows how the new foreign data types correspond to extended characters and strings.
Passing extended characters to Lisp functions in Sunos and Solaris Foreign Data Type | Lisp Type | Call Discipline | :wide-character | character | :value |
:wide-string | simple-general-string | :reference |
:euc-string | simple-string | :reference |
See Chapter 4, "Working Beyond the Lisp Environment" in the Advanced User's Guide for more information about the Foreign Function Interface.
International Character Sets - 9 SEP 1996 Generated with Harlequin WebMaker