diff options
author | 2020-04-28 17:07:12 +0200 | |
---|---|---|
committer | 2020-04-28 17:07:12 +0200 | |
commit | b8f704d2190125a7750b50cd9b67267b9c20fd43 (patch) | |
tree | 291e738b27f0c804e51b8b5cf93821d8c89d5dc7 /PCbuild | |
parent | bpo-40421: Add pyframe.h header file (GH-19755) (diff) | |
download | cpython-b8f704d2190125a7750b50cd9b67267b9c20fd43.tar.gz cpython-b8f704d2190125a7750b50cd9b67267b9c20fd43.tar.bz2 cpython-b8f704d2190125a7750b50cd9b67267b9c20fd43.zip |
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 'PCbuild')
-rw-r--r-- | PCbuild/pythoncore.vcxproj | 1 | ||||
-rw-r--r-- | PCbuild/pythoncore.vcxproj.filters | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index f54f1554130..21b51bf5e6d 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -131,6 +131,7 @@ <ClInclude Include="..\Include\cpython\bytearrayobject.h" /> <ClInclude Include="..\Include\cpython\bytesobject.h" /> <ClInclude Include="..\Include\cpython\ceval.h" /> + <ClInclude Include="..\Include\cpython\code.h" /> <ClInclude Include="..\Include\cpython\dictobject.h" /> <ClInclude Include="..\Include\cpython\fileobject.h" /> <ClInclude Include="..\Include\cpython\fileutils.h" /> diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters index c8758dab3b3..f5c76fa34eb 100644 --- a/PCbuild/pythoncore.vcxproj.filters +++ b/PCbuild/pythoncore.vcxproj.filters @@ -90,6 +90,9 @@ <ClInclude Include="..\Include\cpython\ceval.h"> <Filter>Include</Filter> </ClInclude> + <ClInclude Include="..\Include\cpython\code.h"> + <Filter>Include</Filter> + </ClInclude> <ClInclude Include="..\Include\cpython\dictobject.h"> <Filter>Include</Filter> </ClInclude> |