summaryrefslogtreecommitdiffstats
path: root/Include/structmember.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-06-03 17:07:40 (GMT)
committerGuido van Rossum <guido@python.org>1992-06-03 17:07:40 (GMT)
commit000239517d0a0904d82e66e8a21c56212c0646d1 (patch)
tree2b20eb2f096957f9fc53594895de1f40e6333270 /Include/structmember.h
parentab2490a6d52b0b5c22f7a6930d22d427d2a0cca0 (diff)
downloadcpython-000239517d0a0904d82e66e8a21c56212c0646d1.zip
cpython-000239517d0a0904d82e66e8a21c56212c0646d1.tar.gz
cpython-000239517d0a0904d82e66e8a21c56212c0646d1.tar.bz2
added BYTE, CHAR and unsigned variants
Diffstat (limited to 'Include/structmember.h')
-rw-r--r--Include/structmember.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Include/structmember.h b/Include/structmember.h
index 2743fd6..8520863 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