]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35134: Create Include/cpython/object.h (GH-10679)
authorVictor Stinner <vstinner@redhat.com>
Mon, 26 Nov 2018 16:09:16 +0000 (17:09 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Nov 2018 16:09:16 +0000 (17:09 +0100)
commit6eb996685e25c09499858bee4be258776e603c6f
tree7a867595182170ce05ae4eaba0eb3f8e7ff4c5e9
parent282c03d45d2d766c55904a4eb766923a2c459124
bpo-35134: Create Include/cpython/object.h (GH-10679)

* Move object.h code surrounded by "#ifndef Py_LIMITED_API"
  to a new Include/cpython/object.h header file.
* "typedef struct _typeobject PyTypeObject;" is now always defined
  in object.h, but if Py_LIMITED_API is not defined,
  Include/cpython/object.h also defines the structure.
* Complete the printfunc comment to mention Py_LIMITED_API define.
Include/cpython/object.h [new file with mode: 0644]
Include/object.h