summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1990-11-18 17:27:10 (GMT)
committerGuido van Rossum <guido@python.org>1990-11-18 17:27:10 (GMT)
commitd5b70f5bacb27f96cbdf7f304d88fe8ede2a72c9 (patch)
treeb9cf6c2f50831f8b5b6287451f20f728aaf2cfd4 /Include/object.h
parenta769172f6a872ae21e23d797cf484fc0dbdd98e7 (diff)
downloadcpython-d5b70f5bacb27f96cbdf7f304d88fe8ede2a72c9.zip
cpython-d5b70f5bacb27f96cbdf7f304d88fe8ede2a72c9.tar.gz
cpython-d5b70f5bacb27f96cbdf7f304d88fe8ede2a72c9.tar.bz2
Add UNREF macro if not tracing refs (see UNREF function in object.c).
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h
index 7147339..dcfdfb4 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