X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref.sgml;h=33f8a568d7e317d990aade3ca42ee60cf8efaa09;hb=0e2874cd053926b5687403d7a824f8eea28f847b;hp=81c75aad198724057b3791d17134ef4787403350;hpb=d9322041cff941cfa0ee5a4a916259177b6dbe61;p=uffi.git diff --git a/doc/ref.sgml b/doc/ref.sgml index 81c75aa..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. @@ -344,7 +344,9 @@ always need to have memory for them. def-function name args &key module returning - Arguments and Values + + + Arguments and Values name @@ -375,7 +377,7 @@ foreign function. - + Description Declares a foreign function. @@ -417,7 +419,7 @@ foreign function. Syntax - load-foreign-library filename module supporting-libraries => success + load-foreign-library filename &key module supporting-libraries => success @@ -427,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. @@ -468,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