summaryrefslogtreecommitdiffstats
path: root/Include/structmember.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1994-12-14 13:04:05 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1994-12-14 13:04:05 (GMT)
commit599f0d1c2c72e1364c564226c69d40dcfff1f960 (patch)
tree3996cfcb096fc6f7fc36edeeeb837b7adccc00fb /Include/structmember.h
parente00637bdcf31ed5247de4e3fbea931b52defaf8e (diff)
downloadcpython-599f0d1c2c72e1364c564226c69d40dcfff1f960.zip
cpython-599f0d1c2c72e1364c564226c69d40dcfff1f960.tar.gz
cpython-599f0d1c2c72e1364c564226c69d40dcfff1f960.tar.bz2
- Added ability to get at strings embedded in the struct
- For the mac, added ability to get at pascal-style strings
Diffstat (limited to 'Include/structmember.h')
-rw-r--r--Include/structmember.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/structmember.h b/Include/structmember.h
index 7a047b9..2e9bd0d 100644
--- a/Include/structmember.h
+++ b/Include/structmember.h
@@ -74,6 +74,13 @@ struct memberlist {
#define T_UINT 11
#define T_ULONG 12
+/* Added by Jack: strings contained in the structure */
+#define T_STRING_INPLACE 13
+#ifdef macintosh
+#define T_PSTRING 14 /* macintosh pascal-style counted string */
+#define T_PSTRING_INPLACE 15
+#endif /* macintosh */
+
/* Readonly flag */
#define READONLY 1
#define RO READONLY /* Shorthand */