Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1:/tmp/cvs-serv3179/include
Modified Files:
MPython.h
Log Message:
added PyObject_Free() to the list of remapped functions
Index: MPython.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MPython.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -b -u -2 -r1.12 -r1.13
--- MPython.h 13 Jan 2004 23:40:24 -0000 1.12
+++ MPython.h 14 Jan 2004 00:30:52 -0000 1.13
@@ -73,4 +73,5 @@
extern PyObject *(*M_PyObject_GetAttrString)(PyObject *, char *);
extern void *(*M_PyObject_Malloc)(size_t);
+ extern void (*M_PyObject_Free)(void *);
extern int (*M_PyObject_SetAttrString)(PyObject *, char *, PyObject *);
extern int (*M_PyObject_Size)(PyObject *);
@@ -158,6 +159,8 @@
#if defined(WITH_PYMALLOC) && defined(PYMALLOC_DEBUG)
#define _PyObject_DebugMalloc M_PyObject_Malloc
+ #define _PyObject_DebugFree M_PyObject_Free
#else
#define PyObject_Malloc M_PyObject_Malloc
+ #define PyObject_Free M_PyObject_Free
#endif
#define PyObject_SetAttrString M_PyObject_SetAttrString
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates