diff options
author | Victor Stinner <vstinner@python.org> | 2020-02-05 17:24:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-05 17:24:33 (GMT) |
commit | 58f4e1a6ee4c6ea82f3f5075d9d9d344ce6b8a56 (patch) | |
tree | 7165c2eee324d0e68ef2383bc05a2bdedb845c6e /Objects/object.c | |
parent | b39fb8e847ac59b539ad7e93df91c1709815180e (diff) | |
download | cpython-58f4e1a6ee4c6ea82f3f5075d9d9d344ce6b8a56.zip cpython-58f4e1a6ee4c6ea82f3f5075d9d9d344ce6b8a56.tar.gz cpython-58f4e1a6ee4c6ea82f3f5075d9d9d344ce6b8a56.tar.bz2 |
bpo-39542: Declare _Py_AddToAllObjects() in pycore_object.h (GH-18368)
_Py_AddToAllObjects() is used in bltinmodule.c and typeobject.c when
Py_TRACE_REFS is defined.
Fix Py_TRACE_REFS build.
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index 43b838a..9eaa163 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -93,7 +93,7 @@ static PyObject refchain = {&refchain, &refchain}; * way, though; exceptions include statically allocated type objects, and * statically allocated singletons (like Py_True and Py_None). */ -static void +void _Py_AddToAllObjects(PyObject *op, int force) { #ifdef Py_DEBUG |