[Python-checkins] CVS: python/dist/src/Include objimpl.h,2.32,2.33
Neil Schemenauer
nascheme@users.sourceforge.net
Mon, 26 Feb 2001 20:45:07 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Misc NEWS,1.127,1.128
- Next message: [Python-checkins] CVS: python/dist/src configure.in,1.206,1.207 configure,1.198,1.199 config.h.in,2.87,2.88 acconfig.h,1.43,1.44 Makefile.pre.in,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv31495/Include
Modified Files:
objimpl.h
Log Message:
Add Vladimir Marangozov's object allocator. It is disabled by default. This
closes SF patch #401229.
Index: objimpl.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/objimpl.h,v
retrieving revision 2.32
retrieving revision 2.33
diff -C2 -r2.32 -r2.33
*** objimpl.h 2001/02/02 18:17:30 2.32
--- objimpl.h 2001/02/27 04:45:05 2.33
***************
*** 77,80 ****
--- 77,87 ----
modules should use the PyObject_* API. */
+ #ifdef WITH_PYMALLOC
+ #define PyCore_OBJECT_MALLOC_FUNC _PyCore_ObjectMalloc
+ #define PyCore_OBJECT_REALLOC_FUNC _PyCore_ObjectRealloc
+ #define PyCore_OBJECT_FREE_FUNC _PyCore_ObjectFree
+ #define NEED_TO_DECLARE_OBJECT_MALLOC_AND_FRIEND
+ #endif /* !WITH_PYMALLOC */
+
#ifndef PyCore_OBJECT_MALLOC_FUNC
#undef PyCore_OBJECT_REALLOC_FUNC
- Previous message: [Python-checkins] CVS: python/dist/src/Misc NEWS,1.127,1.128
- Next message: [Python-checkins] CVS: python/dist/src configure.in,1.206,1.207 configure,1.198,1.199 config.h.in,2.87,2.88 acconfig.h,1.43,1.44 Makefile.pre.in,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]