]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35134: Create Include/cpython/ subdirectory (GH-10624)
authorVictor Stinner <vstinner@redhat.com>
Fri, 23 Nov 2018 16:00:00 +0000 (17:00 +0100)
committerGitHub <noreply@github.com>
Fri, 23 Nov 2018 16:00:00 +0000 (17:00 +0100)
commite421106b9e4d780c083113e4180d58d68acc69ab
treefe60b9c6e315443a68fae54c0b84f9eaca19949a
parentb409ffa848b280c1db1b4f450bfae14f263099ac
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/.
Include/cpython/objimpl.h [new file with mode: 0644]
Include/objimpl.h
Makefile.pre.in
Misc/NEWS.d/next/C API/2018-11-01-13-58-37.bpo-35134.SbZo0o.rst [new file with mode: 0644]
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Tools/msi/dev/dev.wixproj