mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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.
This commit is contained in:
parent
b39fb8e847
commit
58f4e1a6ee
3 changed files with 4 additions and 2 deletions
|
@ -82,6 +82,7 @@ extern void _PyDebug_PrintTotalRefs(void);
|
|||
#endif
|
||||
|
||||
#ifdef Py_TRACE_REFS
|
||||
extern void _Py_AddToAllObjects(PyObject *op, int force);
|
||||
extern void _Py_PrintReferences(FILE *);
|
||||
extern void _Py_PrintReferenceAddresses(FILE *);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue