X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fffi.sgml;h=498fd1900b5ea5b870b0e88d8b3cb1e3d8ddc3ee;hb=b767eae48831153473226b985511c8f7a3ef98c5;hp=cc33fe570ac2abb37fe7eb5061b6335c55ee1458;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/doc/ffi.sgml b/doc/ffi.sgml index cc33fe5..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