From: Guido van Rossum Date: Wed, 3 Jun 1992 17:07:40 +0000 (+0000) Subject: added BYTE, CHAR and unsigned variants X-Git-Tag: v0.9.8~294 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=000239517d0a0904d82e66e8a21c56212c0646d1;p=thirdparty%2FPython%2Fcpython.git added BYTE, CHAR and unsigned variants --- diff --git a/Include/structmember.h b/Include/structmember.h index 2743fd62e921..8520863de613 100644 --- a/Include/structmember.h +++ b/Include/structmember.h @@ -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