summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-28 15:07:12 (GMT)
committerGitHub <noreply@github.com>2020-04-28 15:07:12 (GMT)
commitb8f704d2190125a7750b50cd9b67267b9c20fd43 (patch)
tree291e738b27f0c804e51b8b5cf93821d8c89d5dc7 /Makefile.pre.in
parent7c59d7c9860cdbaf4a9c26c9142aebd3259d046e (diff)
downloadcpython-b8f704d2190125a7750b50cd9b67267b9c20fd43.zip
cpython-b8f704d2190125a7750b50cd9b67267b9c20fd43.tar.gz
cpython-b8f704d2190125a7750b50cd9b67267b9c20fd43.tar.bz2
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.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 5db381f..fa7fb1f 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1086,6 +1086,7 @@ PYTHON_HEADERS= \
$(srcdir)/Include/cpython/bytearrayobject.h \
$(srcdir)/Include/cpython/bytesobject.h \
$(srcdir)/Include/cpython/ceval.h \
+ $(srcdir)/Include/cpython/code.h \
$(srcdir)/Include/cpython/dictobject.h \
$(srcdir)/Include/cpython/fileobject.h \
$(srcdir)/Include/cpython/fileutils.h \