added BYTE, CHAR and unsigned variants

This commit is contained in:
Guido van Rossum 1992-06-03 17:07:40 +00:00
parent ab2490a6d5
commit 000239517d
1 changed files with 8 additions and 0 deletions

View File

@ -55,6 +55,14 @@ struct memberlist {
#define T_DOUBLE 4 #define T_DOUBLE 4
#define T_STRING 5 #define T_STRING 5
#define T_OBJECT 6 #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 */ /* Readonly flag */
#define READONLY 1 #define READONLY 1