X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fffi.sgml;h=498fd1900b5ea5b870b0e88d8b3cb1e3d8ddc3ee;hb=94ac5b7c3ff37850210b6fc9a7593cf1c5752993;hp=8db7573dcb920f1b5dd7aacdf43264bde90ff67e;hpb=e33fb894f991b2926d8f3bace9058e4c0b2c3a37;p=sbcl.git diff --git a/doc/ffi.sgml b/doc/ffi.sgml index 8db7573..498fd19 100644 --- a/doc/ffi.sgml +++ b/doc/ffi.sgml @@ -5,18 +5,21 @@ function interface should be reviewed, reformatted in DocBook, lightly edited for &SBCL;, and substituted into this manual. But in the meantime, the original &CMUCL; manual is still 95+% correct for the &SBCL; version of the foreign function interface. (The main -difference is that the package names have changed from -ALIEN and C-CALL to -SB-ALIEN and SB-C-CALL.) +difference is that the package names have changed. CMU CL's FFI +is in two packages named ALIEN and +C-CALL. The corresponding SBCL FFI is +in a single package named +SB-ALIEN.) - + can just do (DEFINE-ALIEN-VARIABLE "errno" INT), but it's + wrong. That fails with the multithreading hacks hacks + now built into the C library. --> + See the sections Type Translations