r2175: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 27 Jun 2002 05:49:12 +0000 (05:49 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 27 Jun 2002 05:49:12 +0000 (05:49 +0000)
ChangeLog
debian/changelog
doc/ref.sgml
make-upstream.sh
src/primitives.cl

index 2364d12e44ee648974d2cf7cb4cf3273eebb0f36..ab5d5de33463fa31a8ecee7d3e1316c0d074fc4c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 2002-06-26 Kevin Rosenberg (kevin@rosenberg.net)
 
        * Fix bug in Lispworks allocate-foreign-object
+
+       * Added new :unsigned-byte type. Made :byte signed. 
        
 2002-04-27 Kevin Rosenberg (kevin@rosenberg.net)
        * misc files
index ad1f00d34e922a91646df908c8325161559d33c6..44447362cd7a797bb98daa8f5c777e5476466294 100644 (file)
@@ -1,4 +1,4 @@
-cl-uffi (0.4.6-1) unstable; urgency=low
+cl-uffi (0.4.7-1) unstable; urgency=low
 
   * New upstream version
 
index 7c103ab77946a83446cb7ef106d7e4b476b54295..1058e484bdd2b7016bd12d9bc8c4e01d22313120 100644 (file)
@@ -96,8 +96,12 @@ dereferenced :char pointer returns an character.</para>
 pointer returns an character.</para>
          </listitem>
          <listitem>
-           <para><constant>:byte</constant> - Unsigned 8-bits. A
+           <para><constant>:byte</constant> - Signed 8-bits. A
 dereferenced :byte pointer returns an integer.</para>
+          </listitem>
+         <listitem>
+           <para><constant>:unsigned-byte</constant> - Unsigned 8-bits. A
+dereferenced :unsigned-byte pointer returns an integer.</para>
          </listitem>
          <listitem>
            <para><constant>:short</constant> - Signed 16-bits.</para>
index d9454917f6ce07ab53b9fb38e7a0f4a44c81a0ff..6a3ba2f63257847175b1d9c04e098d86c4b8b463 100755 (executable)
@@ -74,7 +74,7 @@ echo "Cleaning distribution directory ${DISTDIR}"
 cd ${DISTDIR}
 rm -f upload.sh make-debian.sh make-upstream.sh cvsbp-prepare.sh 
 rm -f `find . -type f -name .cvsignore`
-rm -rf `find . -type d -name CVS`
+rm -rf `find . -type d -name CVS -or -name .bin`
 rm -f `find . -type f -name '*~' -or -name '.#*'  -or -name '#*#' -or -name ".*~"`
 rm -f `find doc -type f -name \*.tex -or -name \*.aux -or \
   -name \*.log -or -name \*.out -or -name \*.dvi`
index 5ec2cd34dc31e4e8da748979eca43cd513f1a19f..d5e1e367b0b07262b45220e46dc5379d1a2a1821 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; $Id: primitives.cl,v 1.18 2002/05/17 16:51:08 kevin Exp $
+;;;; $Id: primitives.cl,v 1.19 2002/06/27 05:46:39 kevin Exp $
 ;;;;
 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -56,7 +56,8 @@ supports takes advantage of this optimization."
 (defconstant +cmu-def-type-list+
     '((:char . (alien:signed 8))
       (:unsigned-char . (alien:unsigned 8))
-      (:byte . (alien:unsigned 8))
+      (:byte . (alien:signed 8))
+      (:unsigned-byte . (alien:unsigned 8))
       (:short . (alien:signed 16))
       (:unsigned-short . (alien:unsigned 16))
       (:int . (alien:signed 32))
@@ -78,7 +79,8 @@ supports takes advantage of this optimization."
       (:cstring . c-call:c-string)
       (:char . c-call:char) 
       (:unsigned-char . (alien:unsigned 8))
-      (:byte . (alien:unsigned 8))
+      (:byte . (alien:signed 8))
+      (:unsigned-byte . (alien:unsigned 8))
       (:short . c-call:unsigned-short) 
       (:unsigned-short . c-call:unsigned-short)
       (:int . alien:integer) (:unsigned-int . c-call:unsigned-int) 
@@ -91,9 +93,10 @@ supports takes advantage of this optimization."
       (:short . :short)
       (:pointer-void . (* :void))
       (:cstring . (* :unsigned-char))
+      (:byte . :char)
+      (:unsigned-byte . :unsigned-byte)
       (:char . :char)
       (:unsigned-char . :unsigned-char)
-      (:byte . :byte)
       (:int . :int) (:unsigned-int . :unsigned-int) 
       (:long . :long) (:unsigned-long . :unsigned-long)
       (:float . :float) (:double . :double)
@@ -106,8 +109,9 @@ supports takes advantage of this optimization."
       (:cstring . (:reference-pass (:ef-mb-string :external-format :latin-1)
                                   :allow-null t))
       (:cstring-returning . (:reference (:ef-mb-string :external-format :latin-1) :allow-null t))
+      (:byte . :byte))
+      (:unsigned-byte . (:unsigned :byte))
       (:char . :char)
-      (:byte :byte)
       (:unsigned-char . (:unsigned :char))
       (:int . :int) (:unsigned-int . (:unsigned :int))
       (:long . :long) (:unsigned-long . (:unsigned :long))