diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-09-03 15:44:48 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-09-03 15:44:48 (GMT) |
commit | 49417e76d5fd52b1814db1b7be4cb6f4939a8c65 (patch) | |
tree | 480eb3f55957ee793a46ed1e38caae493be047b6 | |
parent | 0628a66c75761ffac87564d05eddc00c194c316d (diff) | |
download | cpython-49417e76d5fd52b1814db1b7be4cb6f4939a8c65.zip cpython-49417e76d5fd52b1814db1b7be4cb6f4939a8c65.tar.gz cpython-49417e76d5fd52b1814db1b7be4cb6f4939a8c65.tar.bz2 |
Fix the names of _PyObject_GC_TRACK and _PyObject_GC_UNTRACK when the GC is
disabled. Obviously everyone enables the GC. :-)
-rw-r--r-- | Include/objimpl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h index c708910..89e1c0a 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h @@ -283,8 +283,8 @@ extern PyGC_Head _PyGC_generation0; #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) |