]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
added BYTE, CHAR and unsigned variants
authorGuido van Rossum <guido@python.org>
Wed, 3 Jun 1992 17:07:40 +0000 (17:07 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 3 Jun 1992 17:07:40 +0000 (17:07 +0000)
Include/structmember.h

index 2743fd62e9212fe1e8d674f9a73c2ff884420145..8520863de613386bbba8bf6afed0e8d71a332c32 100644 (file)
@@ -55,6 +55,14 @@ struct memberlist {
 #define T_DOUBLE       4
 #define T_STRING       5
 #define T_OBJECT       6
+/* XXX the ordering here is weird for binary compatibility */
+#define T_CHAR         7       /* 1-character string */
+#define T_BYTE         8       /* 8-bit signed int */
+/* unsigned variants: */
+#define T_UBYTE                9
+#define T_USHORT       10
+#define T_UINT         11
+#define T_ULONG                12
 
 /* Readonly flag */
 #define READONLY       1