[ctypes-commit] ctypes/ctypes __init__.py,1.61.2.13,1.61.2.14
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2005-11-29 20:15:05
|
Update of /cvsroot/ctypes/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12308 Modified Files: Tag: branch_1_0 __init__.py Log Message: Implement simple data types with different byte order (endian). Index: __init__.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/ctypes/__init__.py,v retrieving revision 1.61.2.13 retrieving revision 1.61.2.14 diff -C2 -d -r1.61.2.13 -r1.61.2.14 *** __init__.py 8 Nov 2005 20:34:48 -0000 1.61.2.13 --- __init__.py 29 Nov 2005 20:14:57 -0000 1.61.2.14 *************** *** 170,173 **** --- 170,174 ---- class c_ubyte(_SimpleCData): _type_ = "B" + c_ubyte.__ctype_le__ = c_ubyte.__ctype_be__ = c_ubyte # backward compatibility: ##c_uchar = c_ubyte *************** *** 175,181 **** --- 176,184 ---- class c_byte(_SimpleCData): _type_ = "b" + c_byte.__ctype_le__ = c_byte.__ctype_be__ = c_byte class c_char(_SimpleCData): _type_ = "c" + c_char.__ctype_le__ = c_char.__ctype_be__ = c_char class c_char_p(_SimpleCData): |