X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref.sgml;h=33f8a568d7e317d990aade3ca42ee60cf8efaa09;hb=0e2874cd053926b5687403d7a824f8eea28f847b;hp=103363a2a6624cd62b2fd5e3d8ec1c340a7d8ed5;hpb=4d0afb9bedcc103e882dce47d0cdc57a0b79e433;p=uffi.git diff --git a/doc/ref.sgml b/doc/ref.sgml index 103363a..33f8a56 100644 --- a/doc/ref.sgml +++ b/doc/ref.sgml @@ -61,11 +61,11 @@ - Immediate Types + Primitive Types Overview - Immediate types have a single value, these include + Primitive types have a single value, these include characters, numbers, and pointers. They are all symbols in the keyword package. @@ -308,7 +308,7 @@ always need to have memory for them. - covert-from-foreign-string + convert-from-foreign-string Returns a Lisp string from a foreign string. Has parameters to handle ASCII versus binary strings. @@ -339,12 +339,12 @@ always need to have memory for them. Macro - + Syntax - + def-function name args &key module returning - - + + Arguments and Values @@ -419,7 +419,7 @@ foreign function. Syntax - load-foreign-library filename module supporting-libraries => success + load-foreign-library filename &key module supporting-libraries => success @@ -429,7 +429,8 @@ foreign function. filename A string or pathname specifying the library location -in the filesystem. +in the filesystem. At least one implementation (&lw;) can not +accept a logical pathname. @@ -470,7 +471,9 @@ a session. Examples - (load-foreign-library #p"/usr/lib/libmysqlclient.so" "mysql" '("c")) + (load-foreign-library #p"/usr/lib/libmysqlclient.so" + :module "mysql" + :supporting-libraries '("c")) => T