]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add UNREF macro if not tracing refs (see UNREF function in object.c).
authorGuido van Rossum <guido@python.org>
Sun, 18 Nov 1990 17:27:10 +0000 (17:27 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 18 Nov 1990 17:27:10 +0000 (17:27 +0000)
Include/object.h

index 7147339923ecac81aede200660d71e25fb006d6f..dcfdfb4cf1eff16cf6426ee27c9dee79afd87229 100644 (file)
@@ -191,6 +191,7 @@ environment the global variable trick is not safe.)
 
 #ifndef TRACE_REFS
 #define DELREF(op) (*(op)->ob_type->tp_dealloc)((object *)(op))
+#define UNREF(op) /*empty*/
 #endif
 
 #ifdef REF_DEBUG