]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40421: Add Include/cpython/code.h header file (GH-19756)
authorVictor Stinner <vstinner@python.org>
Tue, 28 Apr 2020 15:07:12 +0000 (17:07 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Apr 2020 15:07:12 +0000 (17:07 +0200)
commitb8f704d2190125a7750b50cd9b67267b9c20fd43
tree291e738b27f0c804e51b8b5cf93821d8c89d5dc7
parent7c59d7c9860cdbaf4a9c26c9142aebd3259d046e
bpo-40421: Add Include/cpython/code.h header file (GH-19756)

bpo-35134, bpo-40421: Add Include/cpython/code.h header file.

code.h now defines PyCodeObject type in the limited C API. It is now
included by Python.h.

Give a name to the PyCodeObject structure: it is now called
"struct PyCodeObject". So it becomes possible to define PyCodeObject
as "struct PyCodeObject" in the limited C API without defining the
structure.
Include/Python.h
Include/code.h
Include/compile.h
Include/cpython/code.h [new file with mode: 0644]
Makefile.pre.in
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters