X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref_primitive.xml;h=79003698666d8ac462b6f70f4c4bd108ce2f3766;hb=refs%2Ftags%2Fdebian-2.1.2-1;hp=01b1c953b297b1312888f4f07c15385843d1af2e;hpb=466148daa2e13a529e7338aeaf83cdc49c47ddbb;p=uffi.git diff --git a/doc/ref_primitive.xml b/doc/ref_primitive.xml index 01b1c95..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