X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fref_declare.xml;h=102143ab9f91204c51450c37ca2a4d0cde7f73e1;hb=dc12f6625ed6c85ad380525d01c0726100bf7a3d;hp=49b6c7b40dfcebef79c4bf8aa232c4769a04b0af;hpb=c5115898210dbfa357c208c1bfe58049f7d6ff6d;p=uffi.git
diff --git a/doc/ref_declare.xml b/doc/ref_declare.xml
index 49b6c7b..102143a 100644
--- a/doc/ref_declare.xml
+++ b/doc/ref_declare.xml
@@ -1,13 +1,13 @@
-
+
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
%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.
+
+
+