]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-120642: Move _PyCode_CODE() to the internal C API (GH-121644) (#121729)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 13 Jul 2024 21:31:30 +0000 (23:31 +0200)
committerGitHub <noreply@github.com>
Sat, 13 Jul 2024 21:31:30 +0000 (21:31 +0000)
commit48a96d23a837139fe533d085eafb7750e8144c83
treea44890a8e00fb1136945b699ac714a35de1b0369
parente0643d9bd71c588ef95ada3ab95430a7f3f74739
[3.13] gh-120642: Move _PyCode_CODE() to the internal C API (GH-121644) (#121729)

gh-120642: Move _PyCode_CODE() to the internal C API (GH-121644)

Move _PyCode_CODE() and _PyCode_NBYTES() macros to the internal C API
since they use _Py_CODEUNIT which is only part of the internal C API.
(cherry picked from commit a2bec77d25b11f50362a7117223f6d1d5029a909)

Co-authored-by: Victor Stinner <vstinner@python.org>
Include/cpython/code.h
Include/internal/pycore_code.h