Mercurial > cpython-lru_cache-weakref
diff Include/objimpl.h @ 19668:cc604b71036c legacy-trunk
Fix the names of _PyObject_GC_TRACK and _PyObject_GC_UNTRACK when the GC is
disabled. Obviously everyone enables the GC. :-)
| author | Neil Schemenauer <nascheme@enme.ucalgary.ca> |
|---|---|
| date | Mon, 03 Sep 2001 15:44:48 +0000 |
| parents | fbd49d1717c4 |
| children | 0b99174d6b17 |
line wrap: on
line diff
--- a/Include/objimpl.h Mon Sep 03 08:44:02 2001 +0000 +++ b/Include/objimpl.h Mon Sep 03 15:44:48 2001 +0000 @@ -283,8 +283,8 @@ #define PyObject_GC_New PyObject_New #define PyObject_GC_NewVar PyObject_NewVar #define PyObject_GC_Del PyObject_Del -#define PyObject_GC_TRACK(op) -#define PyObject_GC_UNTRACK(op) +#define _PyObject_GC_TRACK(op) +#define _PyObject_GC_UNTRACK(op) #define PyObject_GC_Track(op) #define PyObject_GC_UnTrack(op)
