mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
ec091bd47e
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
19 lines
274 B
C
19 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 */
|