mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-135755: Move SPECIAL_ constants to a private header (GH-135922)
Macros without a `Py`/`_Py` prefix should not be defined in public headers.
This commit is contained in:
parent
dd59c786cf
commit
1b1ae82fab
5 changed files with 10 additions and 9 deletions
|
@ -8,7 +8,7 @@
|
|||
#include "pycore_backoff.h"
|
||||
#include "pycore_call.h" // _PyObject_CallNoArgs()
|
||||
#include "pycore_cell.h" // PyCell_GetRef()
|
||||
#include "pycore_ceval.h"
|
||||
#include "pycore_ceval.h" // SPECIAL___ENTER__
|
||||
#include "pycore_code.h"
|
||||
#include "pycore_dict.h"
|
||||
#include "pycore_emscripten_signal.h" // _Py_CHECK_EMSCRIPTEN_SIGNALS
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "pycore_pystate.h" // _Py_GetConfig()
|
||||
#include "pycore_symtable.h" // PySTEntryObject
|
||||
#include "pycore_unicodeobject.h" // _PyUnicode_EqualToASCIIString
|
||||
#include "pycore_ceval.h" // SPECIAL___ENTER__
|
||||
|
||||
#define NEED_OPCODE_METADATA
|
||||
#include "pycore_opcode_metadata.h" // _PyOpcode_opcode_metadata, _PyOpcode_num_popped/pushed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue