Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:06:50

0001 // Forward declarations of types of the Python C API.
0002 // Declare them at the same place since redefining typedef is a C11 feature.
0003 // Only use a forward declaration if there is an interdependency between two
0004 // header files.
0005 
0006 #ifndef Py_PYTYPEDEFS_H
0007 #define Py_PYTYPEDEFS_H
0008 #ifdef __cplusplus
0009 extern "C" {
0010 #endif
0011 
0012 typedef struct PyModuleDef PyModuleDef;
0013 typedef struct PyModuleDef_Slot PyModuleDef_Slot;
0014 typedef struct PyMethodDef PyMethodDef;
0015 typedef struct PyGetSetDef PyGetSetDef;
0016 typedef struct PyMemberDef PyMemberDef;
0017 
0018 typedef struct _object PyObject;
0019 typedef struct _longobject PyLongObject;
0020 typedef struct _typeobject PyTypeObject;
0021 typedef struct PyCodeObject PyCodeObject;
0022 typedef struct _frame PyFrameObject;
0023 
0024 typedef struct _ts PyThreadState;
0025 typedef struct _is PyInterpreterState;
0026 
0027 #ifdef __cplusplus
0028 }
0029 #endif
0030 #endif   // !Py_PYTYPEDEFS_H