diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-11-23 16:00:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-23 16:00:00 (GMT) |
commit | e421106b9e4d780c083113e4180d58d68acc69ab (patch) | |
tree | fe60b9c6e315443a68fae54c0b84f9eaca19949a /PCbuild | |
parent | b409ffa848b280c1db1b4f450bfae14f263099ac (diff) | |
download | cpython-e421106b9e4d780c083113e4180d58d68acc69ab.zip cpython-e421106b9e4d780c083113e4180d58d68acc69ab.tar.gz cpython-e421106b9e4d780c083113e4180d58d68acc69ab.tar.bz2 |
bpo-35134: Create Include/cpython/ subdirectory (GH-10624)
Include/*.h should be the "portable Python API", whereas
Include/cpython/*.h should be the "CPython API": CPython
implementation details.
Changes:
* Create Include/cpython/ subdirectory
* "make install" now creates $prefix/include/cpython and copy
Include/cpython/* to $prefix/include/cpython
* Create Include/cpython/objimpl.h: move objimpl.h code
surrounded by "#ifndef Py_LIMITED_API" to cpython/objimpl.h.
* objimpl.h now includes cpython/objimpl.h
* Windows installer (MSI) now also install Include/ subdirectories:
Include/cpython/ and Include/internal/.
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 885d602..34cd379 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -95,6 +95,7 @@ <ClInclude Include="..\Include\complexobject.h" /> <ClInclude Include="..\Include\context.h" /> <ClInclude Include="..\Include\coreconfig.h" /> + <ClInclude Include="..\Include\cpython\objimpl.h" /> <ClInclude Include="..\Include\datetime.h" /> <ClInclude Include="..\Include\descrobject.h" /> <ClInclude Include="..\Include\dictobject.h" /> diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters index 2af11c9..ebe5e8a 100644 --- a/PCbuild/pythoncore.vcxproj.filters +++ b/PCbuild/pythoncore.vcxproj.filters @@ -84,6 +84,9 @@ <ClInclude Include="..\Include\coreconfig.h"> <Filter>Include</Filter> </ClInclude> + <ClInclude Include="..\Include\cpython\objimpl.h"> + <Filter>Include</Filter> + </ClInclude> <ClInclude Include="..\Include\datetime.h"> <Filter>Include</Filter> </ClInclude> |