Regenerated with inheritance-aware xxxx_Check() macros.

This commit is contained in:
Jack Jansen 2002-12-19 21:24:35 +00:00
parent 5bb2f6497f
commit f955784f0c
22 changed files with 50 additions and 50 deletions

View file

@ -54,7 +54,7 @@ static PyObject *Res_Error;
PyTypeObject Resource_Type;
#define ResObj_Check(x) ((x)->ob_type == &Resource_Type)
#define ResObj_Check(x) ((x)->ob_type == &Resource_Type || PyObject_TypeCheck((x), &Resource_Type))
typedef struct ResourceObject {
PyObject_HEAD