X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fffi.xml;h=c054bb21a7d7dd844ef89481f518c0af8eb60176;hb=547cfec95e761865cd24e738e4a9717d85562387;hp=a111930e02536c34e5256a611176b639dfbddc5f;hpb=765d10ae2a59a6c60ec886e29bc7f692f76dcec8;p=sbcl.git diff --git a/doc/ffi.xml b/doc/ffi.xml index a111930..c054bb2 100644 --- a/doc/ffi.xml +++ b/doc/ffi.xml @@ -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.