[Python-checkins] python/dist/src/Include object.h,2.115,2.116

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Sat, 22 Mar 2003 19:33:15 -0800


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

Modified Files:
	object.h 
Log Message:
Refactored some of the Py_TRACE_REFS code.  New private API function
_Py_AddToAllObjects() that simply inserts an object at the front of
the doubly-linked list of all objects.  Changed PyType_Ready() (the
 closest thing we've got to a choke point for type objects) to call
that.


Index: object.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/object.h,v
retrieving revision 2.115
retrieving revision 2.116
diff -C2 -d -r2.115 -r2.116
*** object.h	17 Mar 2003 19:45:59 -0000	2.115
--- object.h	23 Mar 2003 03:33:13 -0000	2.116
***************
*** 583,586 ****
--- 583,587 ----
  PyAPI_FUNC(void) _Py_Dealloc(PyObject *);
  PyAPI_FUNC(void) _Py_PrintReferences(FILE *);
+ PyAPI_FUNC(void) _Py_AddToAllObjects(PyObject *);
  
  #else