Lines Matching refs:_PyObject_CAST
112 #define _PyObject_CAST(op) ((PyObject*)(op)) macro
137 #define Py_TYPE(ob) (_PyObject_CAST(ob)->ob_type)
154 #define Py_SET_REFCNT(ob, refcnt) _Py_SET_REFCNT(_PyObject_CAST(ob), refcnt)
160 #define Py_SET_TYPE(ob, type) _Py_SET_TYPE(_PyObject_CAST(ob), type)
249 #define PyObject_TypeCheck(ob, type) _PyObject_TypeCheck(_PyObject_CAST(ob), type)
475 #define Py_INCREF(op) _Py_INCREF(_PyObject_CAST(op))
505 # define Py_DECREF(op) _Py_DECREF(__FILE__, __LINE__, _PyObject_CAST(op))
507 # define Py_DECREF(op) _Py_DECREF(_PyObject_CAST(op))
547 PyObject *_py_tmp = _PyObject_CAST(op); \
562 #define Py_XINCREF(op) _Py_XINCREF(_PyObject_CAST(op))
571 #define Py_XDECREF(op) _Py_XDECREF(_PyObject_CAST(op))
595 #define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
596 #define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
739 #define PyType_Check(op) _PyType_Check(_PyObject_CAST(op))
744 #define PyType_CheckExact(op) _PyType_CheckExact(_PyObject_CAST(op))