bpo-35059: Convert PyObject_INIT() to function (GH-10077)
authorVictor Stinner <vstinner@redhat.com>
Fri, 26 Oct 2018 12:35:00 +0000 (14:35 +0200)
committerGitHub <noreply@github.com>
Fri, 26 Oct 2018 12:35:00 +0000 (14:35 +0200)
commitb4435e20a92af474f117b78b98ddc6f515363af5
tree4383bfb9ba3f9ec21a2d0cbdd726b38c5a9e1956
parent7cd25434164882c2093ea41ccfc7b95a05cd5cbd
bpo-35059: Convert PyObject_INIT() to function (GH-10077)

* Convert PyObject_INIT() and PyObject_INIT_VAR() macros to static
  inline functions.
* Fix usage of these functions: cast to PyObject* or PyVarObject*.
Include/objimpl.h
Objects/bytesobject.c
Objects/classobject.c
Objects/complexobject.c
Objects/floatobject.c
Objects/longobject.c
Objects/methodobject.c
PC/winreg.c