Add UNREF macro if not tracing refs (see UNREF function in object.c).
This commit is contained in:
parent
a769172f6a
commit
d5b70f5bac
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue