X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref.sgml;h=fcb08ebf8af2ca1e2e2e45629fcfe73eee1a7eef;hb=ca7e9a2299773cfbc927d71e6289549601438b24;hp=58ac773cac341a8ec6f7a275f640b487a902f1f6;hpb=01a6946b2543ade1bfd5672ca92827da7e56bf85;p=uffi.git diff --git a/doc/ref.sgml b/doc/ref.sgml index 58ac773..fcb08eb 100644 --- a/doc/ref.sgml +++ b/doc/ref.sgml @@ -315,7 +315,7 @@ abstracts the difference in implementations where some return a Examples -(def-array ca :char) +(def-array-pointer ca :unsigned-char) (let ((fs (convert-to-foreign-string "ab"))) (values (null-char-p (deref-array fs 'ca 0)) (null-char-p (deref-array fs 'ca 2)))) @@ -640,17 +640,17 @@ structure. It's type is :pointer-self. - + - def-array - Defines a foreign array type. + def-array-pointer + Defines a pointer to a array of type. Macro Syntax - def-array name type + def-array-pointer name type @@ -675,13 +675,13 @@ structure. It's type is :pointer-self. Description - Defines a foreign array type. + Defines a type tat is a pointer to an array of type. Examples -(def-array byte-array :unsigned-char) +(def-array-pointer byte-array-pointer :unsigned-char)