X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref_declare.xml;h=ddbd818170d927f4e3f2885a07f07c17bff76bdd;hb=2d3c576c1b75c3b60f19ef508202a46090d25111;hp=756ed870e481660fd44d4f15f8c83526aa23aa9d;hpb=6be0cb84dd1fc6a0ae9410f7ccdc34ac21ae4377;p=uffi.git diff --git a/doc/ref_declare.xml b/doc/ref_declare.xml index 756ed87..ddbd818 100644 --- a/doc/ref_declare.xml +++ b/doc/ref_declare.xml @@ -1,13 +1,13 @@ - + %myents; ]> Declarations - + Overview @@ -19,64 +19,64 @@ - - - def-type - Defines a Common Lisp type. - - Macro - - - Syntax - - def-type name type - - - - Arguments and Values - - - name - - A symbol naming the type - - - - type - - A form that is evaluated that specifies the &uffi; type. - - - - - - - Description - Defines a Common Lisp type based on a &uffi; type. - - - - Examples - + + + def-type + Defines a Common Lisp type. + + Macro + + + Syntax + + def-type name type + + + + Arguments and Values + + + name + + A symbol naming the type + + + + type + + A form that is evaluated that specifies the &uffi; type. + + + + + + + Description + Defines a Common Lisp type based on a &uffi; type. + + + + Examples + (def-type char-ptr '(* :char)) ... (defun foo (ptr) - (declare (type char-ptr ptr)) - ... - - - - Side Effects - Defines a new &cl; type. - - - Affected by - None. - - - Exceptional Situations - None. - - - +(declare (type char-ptr ptr)) +... + + + + Side Effects + Defines a new &cl; type. + + + Affected by + None. + + + Exceptional Situations + None. + + +