[Python-checkins] python/dist/src/Mac/Modules/ctl _Ctlmodule.c,1.22,1.23
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Thu, 19 Dec 2002 13:25:03 -0800
Update of /cvsroot/python/python/dist/src/Mac/Modules/ctl
In directory sc8-pr-cvs1:/tmp/cvs-serv31050/ctl
Modified Files:
_Ctlmodule.c
Log Message:
Regenerated with inheritance-aware xxxx_Check() macros.
Index: _Ctlmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ctl/_Ctlmodule.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** _Ctlmodule.c 12 Dec 2002 10:31:50 -0000 1.22
--- _Ctlmodule.c 19 Dec 2002 21:24:30 -0000 1.23
***************
*** 146,150 ****
PyTypeObject Control_Type;
! #define CtlObj_Check(x) ((x)->ob_type == &Control_Type)
typedef struct ControlObject {
--- 146,150 ----
PyTypeObject Control_Type;
! #define CtlObj_Check(x) ((x)->ob_type == &Control_Type || PyObject_TypeCheck((x), &Control_Type))
typedef struct ControlObject {