HomeAleph Objects Inc

bpo-35053: Define _PyTraceMalloc_NewReference in object.h (GH-10107)

Authored by Victor Stinner <vstinner@redhat.com> on Oct 25 2018, 4:01 PM.

Description

bpo-35053: Define _PyTraceMalloc_NewReference in object.h (GH-10107)

_PyTraceMalloc_NewReference() is now called by _Py_NewReference(), so
move its definition to object.h. Moreover, define it even if
Py_LIMITED_API is defined, since _Py_NewReference() is also exposed
even if Py_LIMITED_API is defined.

Event Timeline

GitHub <noreply@github.com> committed rCPc89a93271447: bpo-35053: Define _PyTraceMalloc_NewReference in object.h (GH-10107) (authored by Victor Stinner <vstinner@redhat.com>).Oct 25 2018, 4:01 PM