Add UNREF macro if not tracing refs (see UNREF function in object.c).

This commit is contained in:
Guido van Rossum 1990-11-18 17:27:10 +00:00
parent a769172f6a
commit d5b70f5bac
1 changed files with 1 additions and 0 deletions

View File

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