From: Guido van Rossum Date: Sun, 18 Nov 1990 17:27:10 +0000 (+0000) Subject: Add UNREF macro if not tracing refs (see UNREF function in object.c). X-Git-Tag: v0.9.8~1115 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5b70f5bacb27f96cbdf7f304d88fe8ede2a72c9;p=thirdparty%2FPython%2Fcpython.git Add UNREF macro if not tracing refs (see UNREF function in object.c). --- diff --git a/Include/object.h b/Include/object.h index 7147339923ec..dcfdfb4cf1ef 100644 --- a/Include/object.h +++ b/Include/object.h @@ -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