mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +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
|
|
@ -1,13 +1,11 @@
|
|||
|
||||
#define _PY_INTERPRETER
|
||||
|
||||
#include "Python.h"
|
||||
#include "frameobject.h"
|
||||
#include "pycore_code.h" // stats
|
||||
#include "pycore_frame.h"
|
||||
#include "pycore_genobject.h"
|
||||
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
|
||||
#include "opcode.h"
|
||||
#include "pycore_frame.h" // _PyFrame_New_NoTrack()
|
||||
#include "pycore_interpframe.h" // _PyFrame_GetCode()
|
||||
#include "pycore_genobject.h" // _PyGen_GetGeneratorFromFrame()
|
||||
#include "pycore_stackref.h" // _Py_VISIT_STACKREF()
|
||||
|
||||
|
||||
int
|
||||
_PyFrame_Traverse(_PyInterpreterFrame *frame, visitproc visit, void *arg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue