]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91719: Add pycore_opcode.h internal header file (#91906)
authorVictor Stinner <vstinner@python.org>
Mon, 25 Apr 2022 22:14:30 +0000 (00:14 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Apr 2022 22:14:30 +0000 (00:14 +0200)
commit64a54e511debaac6d3a6e53685824fce435c440c
tree7a549d47fbe8b480b14198555e427e57581db4ec
parent20cc69528677b3e5191139d1cb587531f4893b55
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
Include/internal/pycore_opcode.h [new file with mode: 0644]
Include/opcode.h
Makefile.pre.in
Objects/codeobject.c
Objects/frameobject.c
Objects/genobject.c
PCbuild/regen.targets
Python/ceval.c
Python/compile.c
Python/specialize.c
Tools/scripts/generate_opcode_h.py