[Python-checkins] python/dist/src/Mac/Modules/waste wastemodule.c,1.29,1.30
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Thu, 19 Dec 2002 13:24:38 -0800
Update of /cvsroot/python/python/dist/src/Mac/Modules/waste
In directory sc8-pr-cvs1:/tmp/cvs-serv31050/waste
Modified Files:
wastemodule.c
Log Message:
Regenerated with inheritance-aware xxxx_Check() macros.
Index: wastemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/waste/wastemodule.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** wastemodule.c 13 Dec 2002 15:01:45 -0000 1.29
--- wastemodule.c 19 Dec 2002 21:24:35 -0000 1.30
***************
*** 206,210 ****
PyTypeObject WEO_Type;
! #define WEOObj_Check(x) ((x)->ob_type == &WEO_Type)
typedef struct WEOObject {
--- 206,210 ----
PyTypeObject WEO_Type;
! #define WEOObj_Check(x) ((x)->ob_type == &WEO_Type || PyObject_TypeCheck((x), &WEO_Type))
typedef struct WEOObject {
***************
*** 459,463 ****
PyTypeObject waste_Type;
! #define wasteObj_Check(x) ((x)->ob_type == &waste_Type)
typedef struct wasteObject {
--- 459,463 ----
PyTypeObject waste_Type;
! #define wasteObj_Check(x) ((x)->ob_type == &waste_Type || PyObject_TypeCheck((x), &waste_Type))
typedef struct wasteObject {