diff options
Diffstat (limited to 'Include/cobject.h')
-rw-r--r-- | Include/cobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cobject.h b/Include/cobject.h index 0e0ed1b..499dfad 100644 --- a/Include/cobject.h +++ b/Include/cobject.h @@ -16,7 +16,7 @@ extern "C" { PyAPI_DATA(PyTypeObject) PyCObject_Type; -#define PyCObject_Check(op) (Py_Type(op) == &PyCObject_Type) +#define PyCObject_Check(op) (Py_TYPE(op) == &PyCObject_Type) /* Create a PyCObject from a pointer to a C object and an optional destructor function. If the second argument is non-null, then it |