[Python-checkins] CVS: python/dist/src/Tools/bgen/bgen bgenType.py,1.5,1.6 macsupport.py,1.17,1.18
Jack Jansen
python-dev@python.org
Thu, 6 Jul 2000 08:17:55 -0700
Update of /cvsroot/python/python/dist/src/Tools/bgen/bgen
In directory slayer.i.sourceforge.net:/tmp/cvs-serv4000
Modified Files:
bgenType.py macsupport.py
Log Message:
Make a distinction between shorts and unsigned shorts.
Index: bgenType.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/bgen/bgen/bgenType.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** bgenType.py 1998/04/28 16:04:12 1.5
--- bgenType.py 2000/07/06 15:17:52 1.6
***************
*** 138,141 ****
--- 138,142 ----
char = Type("char", "c")
short = Type("short", "h")
+ unsigned_short = Type("unsigned short", "H")
int = Type("int", "i")
long = Type("long", "l")
Index: macsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/bgen/bgen/macsupport.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** macsupport.py 2000/04/24 14:56:00 1.17
--- macsupport.py 2000/07/06 15:17:52 1.18
***************
*** 22,26 ****
UInt8 = Type("UInt8", "b")
SInt8 = Type("SInt8", "b")
! UInt16 = Type("UInt16", "h")
SInt16 = Type("SInt16", "h")
UInt32 = Type("UInt32", "l")
--- 22,26 ----
UInt8 = Type("UInt8", "b")
SInt8 = Type("SInt8", "b")
! UInt16 = Type("UInt16", "H")
SInt16 = Type("SInt16", "h")
UInt32 = Type("UInt32", "l")