Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static inline void _Py_DECREF(const char *filename, int lineno,
- PyObject *op)
- {
- (void)filename; /* may be unused, shut up -Wunused-parameter */
- (void)lineno; /* may be unused, shut up -Wunused-parameter */
- _Py_DEC_REFTOTAL;
- if (--op->ob_refcnt != 0) {
- #ifdef Py_REF_DEBUG
- if (op->ob_refcnt < 0) {
- _Py_NegativeRefcount(filename, lineno, op);
- }
- #endif
- }
- else {
- _Py_Dealloc(op);
- }
- }
- #define Py_DECREF(op) _Py_DECREF(__FILE__, __LINE__, _PyObject_CAST(op))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement