[Python-checkins] python/dist/src/Mac/Modules/ae _AEmodule.c,1.16,1.17
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
2002年12月19日 13:25:01 -0800
Update of /cvsroot/python/python/dist/src/Mac/Modules/ae
In directory sc8-pr-cvs1:/tmp/cvs-serv31050/ae
Modified Files:
_AEmodule.c
Log Message:
Regenerated with inheritance-aware xxxx_Check() macros.
Index: _AEmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ae/_AEmodule.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** _AEmodule.c 13 Dec 2002 15:01:27 -0000 1.16
--- _AEmodule.c 19 Dec 2002 21:24:28 -0000 1.17
***************
*** 66,70 ****
PyTypeObject AEDesc_Type;
! #define AEDesc_Check(x) ((x)->ob_type == &AEDesc_Type)
typedef struct AEDescObject {
--- 66,70 ----
PyTypeObject AEDesc_Type;
! #define AEDesc_Check(x) ((x)->ob_type == &AEDesc_Type || PyObject_TypeCheck((x), &AEDesc_Type))
typedef struct AEDescObject {