[Python-checkins] python/dist/src/Include objimpl.h,2.50,2.51

tim_one@sourceforge.net tim_one@sourceforge.net
Sat, 13 Apr 2002 01:29:16 -0700


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

Modified Files:
	objimpl.h 
Log Message:
_PyObject_DebugDumpStats:  renamed to _PyObject_DebugMallocStats.
Added code to call this when PYMALLOC_DEBUG is enabled, and envar
PYTHONMALLOCSTATS is set, whenever a new arena is obtained and once
late in the Python shutdown process.


Index: objimpl.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/objimpl.h,v
retrieving revision 2.50
retrieving revision 2.51
diff -C2 -d -r2.50 -r2.51
*** objimpl.h	12 Apr 2002 05:21:34 -0000	2.50
--- objimpl.h	13 Apr 2002 08:29:14 -0000	2.51
***************
*** 98,102 ****
  DL_IMPORT(void) _PyObject_DebugDumpAddress(const void *p);
  DL_IMPORT(void) _PyObject_DebugCheckAddress(const void *p);
! DL_IMPORT(void) _PyObject_DebugDumpStats(void);
  #define PyObject_MALLOC		_PyObject_DebugMalloc
  #define PyObject_Malloc		_PyObject_DebugMalloc
--- 98,102 ----
  DL_IMPORT(void) _PyObject_DebugDumpAddress(const void *p);
  DL_IMPORT(void) _PyObject_DebugCheckAddress(const void *p);
! DL_IMPORT(void) _PyObject_DebugMallocStats(void);
  #define PyObject_MALLOC		_PyObject_DebugMalloc
  #define PyObject_Malloc		_PyObject_DebugMalloc