diff options
author | Victor Stinner <vstinner@python.org> | 2022-04-25 22:14:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 22:14:30 (GMT) |
commit | 64a54e511debaac6d3a6e53685824fce435c440c (patch) | |
tree | 7a549d47fbe8b480b14198555e427e57581db4ec /Objects/codeobject.c | |
parent | 20cc69528677b3e5191139d1cb587531f4893b55 (diff) | |
download | cpython-64a54e511debaac6d3a6e53685824fce435c440c.zip cpython-64a54e511debaac6d3a6e53685824fce435c440c.tar.gz cpython-64a54e511debaac6d3a6e53685824fce435c440c.tar.bz2 |
gh-91719: Add pycore_opcode.h internal header file (#91906)
Move the following API from Include/opcode.h (public C API) to a new
Include/internal/pycore_opcode.h header file (internal C API):
* EXTRA_CASES
* _PyOpcode_Caches
* _PyOpcode_Deopt
* _PyOpcode_Jump
* _PyOpcode_OpName
* _PyOpcode_RelativeJump
Diffstat (limited to 'Objects/codeobject.c')
-rw-r--r-- | Objects/codeobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c index 4fc4b8f..e3e4ca1 100644 --- a/Objects/codeobject.c +++ b/Objects/codeobject.c @@ -5,6 +5,7 @@ #include "structmember.h" // PyMemberDef #include "pycore_code.h" // _PyCodeConstructor #include "pycore_interp.h" // PyInterpreterState.co_extra_freefuncs +#include "pycore_opcode.h" // _PyOpcode_Deopt #include "pycore_pystate.h" // _PyInterpreterState_GET() #include "pycore_tuple.h" // _PyTuple_ITEMS() #include "clinic/codeobject.c.h" |