mirror of
https://github.com/python/cpython.git
synced 2025-10-06 23:21:06 +00:00
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
This commit is contained in:
parent
20cc695286
commit
64a54e511d
11 changed files with 661 additions and 605 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue