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 /Makefile.pre.in | |
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 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 3952f5b..f3bccf4 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1311,8 +1311,10 @@ regen-opcode: # using Tools/scripts/generate_opcode_h.py $(PYTHON_FOR_REGEN) $(srcdir)/Tools/scripts/generate_opcode_h.py \ $(srcdir)/Lib/opcode.py \ - $(srcdir)/Include/opcode.h.new + $(srcdir)/Include/opcode.h.new \ + $(srcdir)/Include/internal/pycore_opcode.h.new $(UPDATE_FILE) $(srcdir)/Include/opcode.h $(srcdir)/Include/opcode.h.new + $(UPDATE_FILE) $(srcdir)/Include/internal/pycore_opcode.h $(srcdir)/Include/internal/pycore_opcode.h.new .PHONY: regen-token regen-token: |