File indexing completed on 2025-01-18 10:06:51
0001 #ifndef Py_STRUCTMEMBER_H
0002 #define Py_STRUCTMEMBER_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #include <stddef.h> /* For offsetof (not always provided by Python.h) */
0022
0023
0024 #define T_SHORT Py_T_SHORT
0025 #define T_INT Py_T_INT
0026 #define T_LONG Py_T_LONG
0027 #define T_FLOAT Py_T_FLOAT
0028 #define T_DOUBLE Py_T_DOUBLE
0029 #define T_STRING Py_T_STRING
0030 #define T_OBJECT _Py_T_OBJECT
0031 #define T_CHAR Py_T_CHAR
0032 #define T_BYTE Py_T_BYTE
0033 #define T_UBYTE Py_T_UBYTE
0034 #define T_USHORT Py_T_USHORT
0035 #define T_UINT Py_T_UINT
0036 #define T_ULONG Py_T_ULONG
0037 #define T_STRING_INPLACE Py_T_STRING_INPLACE
0038 #define T_BOOL Py_T_BOOL
0039 #define T_OBJECT_EX Py_T_OBJECT_EX
0040 #define T_LONGLONG Py_T_LONGLONG
0041 #define T_ULONGLONG Py_T_ULONGLONG
0042 #define T_PYSSIZET Py_T_PYSSIZET
0043 #define T_NONE _Py_T_NONE
0044
0045
0046 #define READONLY Py_READONLY
0047 #define PY_AUDIT_READ Py_AUDIT_READ
0048 #define READ_RESTRICTED Py_AUDIT_READ
0049 #define PY_WRITE_RESTRICTED _Py_WRITE_RESTRICTED
0050 #define RESTRICTED (READ_RESTRICTED | PY_WRITE_RESTRICTED)
0051
0052
0053 #ifdef __cplusplus
0054 }
0055 #endif
0056 #endif