[Python-checkins] CVS: python/dist/src/Include object.h,2.86,2.87
Guido van Rossum
gvanrossum@users.sourceforge.net
Fri, 24 Aug 2001 09:51:44 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv22512
Modified Files:
object.h
Log Message:
Add decl of PySuper_Type; fixup comments for the two other types.
Index: object.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/object.h,v
retrieving revision 2.86
retrieving revision 2.87
diff -C2 -d -r2.86 -r2.87
*** object.h 2001/08/17 18:39:24 2.86
--- object.h 2001/08/24 16:51:42 2.87
***************
*** 305,310 ****
((ob)->ob_type == (tp) || PyType_IsSubtype((ob)->ob_type, (tp)))
! extern DL_IMPORT(PyTypeObject) PyType_Type; /* Metatype */
! extern DL_IMPORT(PyTypeObject) PyBaseObject_Type; /* Most base object type */
#define PyType_Check(op) PyObject_TypeCheck(op, &PyType_Type)
--- 305,311 ----
((ob)->ob_type == (tp) || PyType_IsSubtype((ob)->ob_type, (tp)))
! extern DL_IMPORT(PyTypeObject) PyType_Type; /* built-in 'type' */
! extern DL_IMPORT(PyTypeObject) PyBaseObject_Type; /* built-in 'object' */
! extern DL_IMPORT(PyTypeObject) PySuper_Type; /* built-in 'super' */
#define PyType_Check(op) PyObject_TypeCheck(op, &PyType_Type)