mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00

Move forward declarations of Python C API types to a new pytypedefs.h header file to solve interdependency issues between header files. pytypedefs.h contains forward declarations of the following types: * PyCodeObject * PyFrameObject * PyGetSetDef * PyInterpreterState * PyLongObject * PyMemberDef * PyMethodDef * PyModuleDef * PyObject * PyThreadState * PyTypeObject
18 lines
274 B
C
18 lines
274 B
C
/* Definitions for bytecode */
|
|
|
|
#ifndef Py_CODE_H
|
|
#define Py_CODE_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef Py_LIMITED_API
|
|
# define Py_CPYTHON_CODE_H
|
|
# include "cpython/code.h"
|
|
# undef Py_CPYTHON_CODE_H
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* !Py_CODE_H */
|