X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref_primitive.xml;h=79003698666d8ac462b6f70f4c4bd108ce2f3766;hb=309cfc1abd96f41f31c03642526c17ab4b1148d4;hp=8ab12862d53a4548df46f9fb4dd8a5a104a90324;hpb=e26a86e113f9139d1d4b009e74809faf51af166b;p=uffi.git
diff --git a/doc/ref_primitive.xml b/doc/ref_primitive.xml
index 8ab1286..7900369 100644
--- a/doc/ref_primitive.xml
+++ b/doc/ref_primitive.xml
@@ -1,7 +1,7 @@
+
%myents;
]>
@@ -50,10 +50,26 @@
:unsigned-int - Unsigned 32-bits.
- :long - Signed 32 or 64 bits, depending upon the platform.
+ :long - Signed 32 or 64 bit integer,
+ depending upon the platform.
- :unsigned-long - Unsigned 32 or 64 bits, depending upon the platform.
+ :unsigned-long - Unsigned 32 or 64
+ bit integer, depending upon the platform.
+
+
+ :long-long - Signed 64 bits integer
+ for implementations that support this. If implementation
+ does not support
+ this, 'uffi:no-long-long is pushed on
+ the cl:*features* list.
+
+
+ :unsigned-long-long - Unsigned 64
+ bits integer for implementations that support this. If
+ implementation does not support
+ this, 'uffi:no-long-long is pushed on
+ the cl:*features* list.
:float - 32-bit floating point.
@@ -126,10 +142,10 @@
Examples
-
+
(def-constant pi2 (* 2 pi))
(def-constant exported-pi2 (* 2 pi) :export t)
-
+
Side Effects
@@ -185,11 +201,11 @@
Examples
-
+
(def-foreign-type my-generic-pointer :pointer-void)
(def-foreign-type a-double-float :double-float)
(def-foreign-type char-ptr (* :char))
-
+
Side Effects
@@ -253,14 +269,14 @@
Examples
-
+
(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))))
=> &nil;
&t;
-
+
Side Effects