Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7871e commit 91e7a0bCopy full SHA for 91e7a0b
1 file changed
Include/object.h
@@ -295,11 +295,12 @@ environment the global variable trick is not safe.)
295
#ifndef Py_TRACE_REFS
296
#ifdef COUNT_ALLOCS
297
#define _Py_Dealloc(op) ((op)->ob_type->tp_free++, (*(op)->ob_type->tp_dealloc)((PyObject *)(op)))
298
+#define _Py_ForgetReference(op) ((op)->ob_type->tp_free++)
299
#else
300
#define _Py_Dealloc(op) (*(op)->ob_type->tp_dealloc)((PyObject *)(op))
-#endif
301
#define _Py_ForgetReference(op) /*empty*/
302
#endif
303
+#endif
304
305
306
extern void inc_count Py_PROTO((PyTypeObject *));
0 commit comments