Home | History | Annotate | Download | only in python2.7

Lines Matching defs:Py_INCREF

662 The macros Py_INCREF(op) and Py_DECREF(op) are used to increment or decrement
765 #define Py_INCREF(op) ( \
822 #define Py_XINCREF(op) do { if ((op) == NULL) ; else Py_INCREF(op); } while (0)
829 PyAPI_FUNC(void) Py_IncRef(PyObject *);
836 Don't forget to apply Py_INCREF() when returning this value!!!
842 #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
919 must call Py_INCREF() explicitly.
928 it carefully, it may save lots of calls to Py_INCREF() and Py_DECREF() at