[Python-checkins] python/dist/src/Mac/Modules/te _TEmodule.c,1.13,1.14

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Thu, 19 Dec 2002 13:24:37 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules/te
In directory sc8-pr-cvs1:/tmp/cvs-serv31050/te

Modified Files:
	_TEmodule.c 
Log Message:
Regenerated with inheritance-aware xxxx_Check() macros.


Index: _TEmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/te/_TEmodule.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** _TEmodule.c	12 Dec 2002 10:31:53 -0000	1.13
--- _TEmodule.c	19 Dec 2002 21:24:35 -0000	1.14
***************
*** 68,72 ****
  PyTypeObject TE_Type;
  
! #define TEObj_Check(x) ((x)->ob_type == &TE_Type)
  
  typedef struct TEObject {
--- 68,72 ----
  PyTypeObject TE_Type;
  
! #define TEObj_Check(x) ((x)->ob_type == &TE_Type || PyObject_TypeCheck((x), &TE_Type))
  
  typedef struct TEObject {