Py_TYPE defined as it is in Python 2.6.

This commit is contained in:
Daniele Varrazzo 2010-11-08 00:24:58 +00:00
parent b9e96dbbd2
commit df05ea7a33

View File

@ -54,7 +54,7 @@
#endif
#ifndef Py_TYPE
#define Py_TYPE(o) ((o)->ob_type)
#define Py_TYPE(o) (((PyObject*)(o))->ob_type)
#endif
/* FORMAT_CODE_PY_SSIZE_T is for Py_ssize_t: */