mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-131238: Move _Py_VISIT_STACKREF() to pycore_stackref.h (#131560)
* Move _Py_VISIT_STACKREF() from pycore_gc.h to pycore_stackref.h. * Remove pycore_interpframe.h include from pycore_genobject.h. * Remove now useless includes from C files. * Add pycore_interpframe_structs.h to Makefile.pre.in and pythoncore.vcxproj.
This commit is contained in:
parent
cf9d1a4b6b
commit
7101cba6bf
11 changed files with 40 additions and 35 deletions
|
@ -2,18 +2,17 @@
|
|||
#define _PY_INTERPRETER
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_frame.h"
|
||||
#include "pycore_function.h"
|
||||
#include "pycore_global_objects.h"
|
||||
#include "pycore_compile.h" // _PyCompile_GetUnaryIntrinsicName
|
||||
#include "pycore_function.h" // _Py_set_function_type_params()
|
||||
#include "pycore_genobject.h" // _PyAsyncGenValueWrapperNew
|
||||
#include "pycore_compile.h" // _PyCompile_GetUnaryIntrinsicName, etc
|
||||
#include "pycore_interpframe.h" // _PyFrame_GetLocals()
|
||||
#include "pycore_intrinsics.h" // INTRINSIC_PRINT
|
||||
#include "pycore_pyerrors.h" // _PyErr_SetString()
|
||||
#include "pycore_runtime.h" // _Py_ID()
|
||||
#include "pycore_sysmodule.h" // _PySys_GetRequiredAttr()
|
||||
#include "pycore_tuple.h" // _PyTuple_FromArray()
|
||||
#include "pycore_typevarobject.h" // _Py_make_typevar()
|
||||
#include "pycore_unicodeobject.h" // _PyUnicode_FromASCII
|
||||
#include "pycore_unicodeobject.h" // _PyUnicode_FromASCII()
|
||||
|
||||
|
||||
/******** Unary functions ********/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue