X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fffi.xml;h=c054bb21a7d7dd844ef89481f518c0af8eb60176;hb=547cfec95e761865cd24e738e4a9717d85562387;hp=2efc11c12815793683d2b89e93000eaa9a226585;hpb=3c5c2c265637357e88cb5bb36bcfdc5569bdea4c;p=sbcl.git diff --git a/doc/ffi.xml b/doc/ffi.xml index 2efc11c..c054bb2 100644 --- a/doc/ffi.xml +++ b/doc/ffi.xml @@ -1,6 +1,6 @@ - %myents; ]> @@ -428,7 +428,7 @@ returns a pointer to the location specified by (sb-alien:cast foreign-value new-type) -The sb-alien:cast +The sb-alien:cast macro converts foreign-value to a new foreign value with the specified new-type. Both types, old and new, must be foreign pointer, array or function types. Note that the resulting Lisp @@ -622,9 +622,10 @@ the operator sb-alien:get-errno to allow Lisp code to read The extern-alien macro returns an alien with the specified type which -points to an externally defined value. name is not evaluated, -and may be either a string or a symbol. type is -an unevaluated alien type specifier. +points to an externally defined value. +name is not evaluated, +and may be either a string or a symbol. +type is an unevaluated alien type specifier.