[EMAIL PROTECTED] wrote: > I can, but the extension is only a thin wrapper around a general > purpose C library which is also used independently of Python. >
So change the library to use xmalloc etc and add something like this to the .h file: #ifdef PYMEM #define xmalloc PyMem_Malloc etc #else #define xmalloc malloc etc #endif -- http://mail.python.org/mailman/listinfo/python-list