mirror of
https://github.com/python/cpython.git
synced 2025-10-19 16:03:42 +00:00
gh-131238: Add explicit includes to pycore headers (#131257)
This commit is contained in:
parent
0453e494b6
commit
978e37bb5f
23 changed files with 80 additions and 45 deletions
|
@ -15,16 +15,20 @@
|
|||
*/
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_ast.h" // PyAST_Check, _PyAST_GetDocString()
|
||||
#include "pycore_ast.h" // PyAST_Check()
|
||||
#include "pycore_code.h" // _PyCode_GetFreevars()
|
||||
#include "pycore_compile.h"
|
||||
#include "pycore_flowgraph.h"
|
||||
#include "pycore_flowgraph.h" // _PyCfg_FromInstructionSequence()
|
||||
#include "pycore_pystate.h" // _Py_GetConfig()
|
||||
#include "pycore_runtime.h" // _Py_ID()
|
||||
#include "pycore_setobject.h" // _PySet_NextEntry()
|
||||
#include "pycore_unicodeobject.h" // _PyUnicode_EqualToASCIIString()
|
||||
|
||||
#include "cpython/code.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
|
||||
#undef SUCCESS
|
||||
#undef ERROR
|
||||
#define SUCCESS 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue