mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
- Added ability to get at strings embedded in the struct
- For the mac, added ability to get at pascal-style strings
This commit is contained in:
parent
e00637bdcf
commit
599f0d1c2c
2 changed files with 30 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue