[Python-checkins] python/dist/src/Mac/Modules/ibcarbon _IBCarbon.c,1.5,1.6

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
2002年12月19日 13:25:05 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules/ibcarbon
In directory sc8-pr-cvs1:/tmp/cvs-serv31050/ibcarbon
Modified Files:
	_IBCarbon.c 
Log Message:
Regenerated with inheritance-aware xxxx_Check() macros.
Index: _IBCarbon.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ibcarbon/_IBCarbon.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** _IBCarbon.c	3 Dec 2002 23:40:20 -0000	1.5
--- _IBCarbon.c	19 Dec 2002 21:24:33 -0000	1.6
***************
*** 27,31 ****
 PyTypeObject IBNibRef_Type;
 
! #define IBNibRefObj_Check(x) ((x)->ob_type == &IBNibRef_Type)
 
 typedef struct IBNibRefObject {
--- 27,31 ----
 PyTypeObject IBNibRef_Type;
 
! #define IBNibRefObj_Check(x) ((x)->ob_type == &IBNibRef_Type || PyObject_TypeCheck((x), &IBNibRef_Type))
 
 typedef struct IBNibRefObject {

AltStyle によって変換されたページ (->オリジナル) /