File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1767,7 +1767,7 @@ PyObject_GC_UnTrack(void *op)
1767
1767
/* Obscure: the Py_TRASHCAN mechanism requires that we be able to
1768
1768
* call PyObject_GC_UnTrack twice on an object.
1769
1769
*/
1770
- if (IS_TRACKED (op ))
1770
+ if (_PyObject_GC_IS_TRACKED (op ))
1771
1771
_PyObject_GC_UNTRACK (op );
1772
1772
}
1773
1773
@@ -1846,7 +1846,7 @@ _PyObject_GC_Resize(PyVarObject *op, Py_ssize_t nitems)
1846
1846
{
1847
1847
const size_t basicsize = _PyObject_VAR_SIZE (Py_TYPE (op ), nitems );
1848
1848
PyGC_Head * g = AS_GC (op );
1849
- assert (!IS_TRACKED (op ));
1849
+ assert (!_PyObject_GC_IS_TRACKED (op ));
1850
1850
if (basicsize > PY_SSIZE_T_MAX - sizeof (PyGC_Head ))
1851
1851
return (PyVarObject * )PyErr_NoMemory ();
1852
1852
g = (PyGC_Head * )PyObject_REALLOC (g , sizeof (PyGC_Head ) + basicsize );
@@ -1861,7 +1861,7 @@ void
1861
1861
PyObject_GC_Del (void * op )
1862
1862
{
1863
1863
PyGC_Head * g = AS_GC (op );
1864
- if (IS_TRACKED (op ))
1864
+ if (_PyObject_GC_IS_TRACKED (op ))
1865
1865
gc_list_remove (g );
1866
1866
if (_PyRuntime .gc .generations [0 ].count > 0 ) {
1867
1867
_PyRuntime .gc .generations [0 ].count -- ;
You can’t perform that action at this time.
0 commit comments