diff options
author | Victor Stinner <vstinner@python.org> | 2020-02-07 08:20:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-07 08:20:21 (GMT) |
commit | bec4186c67345f1e6cd3f8a531bc228f14d7ed7b (patch) | |
tree | 086a9aa1b686fce5c5803a4c6c94630681d9ee76 /PCbuild | |
parent | d2ec81a8c99796b51fb8c49b77a7fe369863226f (diff) | |
download | cpython-bec4186c67345f1e6cd3f8a531bc228f14d7ed7b.zip cpython-bec4186c67345f1e6cd3f8a531bc228f14d7ed7b.tar.gz cpython-bec4186c67345f1e6cd3f8a531bc228f14d7ed7b.tar.bz2 |
bpo-35134: Create Include/cpython/listobject.h (GH-18395)
Move listobject.h code surrounded by "#ifndef Py_LIMITED_API"
to a new Include/cpython/listobject.h header file.
Add cpython/ header files to Makefile.pre.in and pythoncore project
of PCbuild.
Add _PyList_CAST() macro.
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 cfab2fa..36a27f4 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -132,6 +132,7 @@ <ClInclude Include="..\Include\cpython\fileobject.h" /> <ClInclude Include="..\Include\cpython\import.h" /> <ClInclude Include="..\Include\cpython\initconfig.h" /> + <ClInclude Include="..\Include\cpython\listobject.h" /> <ClInclude Include="..\Include\cpython\object.h" /> <ClInclude Include="..\Include\cpython\objimpl.h" /> <ClInclude Include="..\Include\cpython\pyerrors.h" /> diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters index ba1839f..0301557 100644 --- a/PCbuild/pythoncore.vcxproj.filters +++ b/PCbuild/pythoncore.vcxproj.filters @@ -99,6 +99,9 @@ <ClInclude Include="..\Include\cpython\initconfig.h"> <Filter>Include</Filter> </ClInclude> + <ClInclude Include="..\Include\cpython\listobject.h"> + <Filter>Include</Filter> + </ClInclude> <ClInclude Include="..\Include\cpython\object.h"> <Filter>Include</Filter> </ClInclude> |