1 #ifndef Py_STRUCTMEMBER_H
2 #define Py_STRUCTMEMBER_H
19 #define offsetof(type, member) ( (int) & ((type*)0) -> member )
63 #define T_STRING_INPLACE 13
68 #define T_OBJECT_EX 16
73 #define T_ULONGLONG 18
82 #define READ_RESTRICTED 2
83 #define PY_WRITE_RESTRICTED 4
84 #define RESTRICTED (READ_RESTRICTED | PY_WRITE_RESTRICTED)
93 PyAPI_FUNC(
int) PyMember_SetOne(
char *, struct PyMemberDef *, PyObject *);