[Python-checkins] CVS: python/dist/src/Include object.h,2.81,2.82

Guido van Rossum gvanrossum@users.sourceforge.net
Tue, 07 Aug 2001 10:24:30 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv12129/Include

Modified Files:
	object.h 
Log Message:
- Rename PyType_InitDict() to PyType_Ready().

- Add an explicit call to PyType_Ready(&PyList_Type) to pythonrun.c
  (just for the heck of it, really -- we should either explicitly
  ready all types, or none).



Index: object.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/object.h,v
retrieving revision 2.81
retrieving revision 2.82
diff -C2 -d -r2.81 -r2.82
*** object.h	2001/08/05 21:23:03	2.81
--- object.h	2001/08/07 17:24:28	2.82
***************
*** 298,302 ****
  #define PyType_Check(op) PyObject_TypeCheck(op, &PyType_Type)
  
! extern DL_IMPORT(int) PyType_InitDict(PyTypeObject *);
  extern DL_IMPORT(PyObject *) PyType_GenericAlloc(PyTypeObject *, int);
  extern DL_IMPORT(PyObject *) PyType_GenericNew(PyTypeObject *,
--- 298,302 ----
  #define PyType_Check(op) PyObject_TypeCheck(op, &PyType_Type)
  
! extern DL_IMPORT(int) PyType_Ready(PyTypeObject *);
  extern DL_IMPORT(PyObject *) PyType_GenericAlloc(PyTypeObject *, int);
  extern DL_IMPORT(PyObject *) PyType_GenericNew(PyTypeObject *,