[pypy-svn] r73627 - pypy/branch/cpython-extension/pypy/module/cpyext/include

jandem at codespeak.net jandem at codespeak.net
Sat Apr 10 16:31:23 CEST 2010


Author: jandem
Date: Sat Apr 10 16:31:22 2010
New Revision: 73627

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/include/pymem.h
Log:
Comment out PyObject_REALLOC


Modified: pypy/branch/cpython-extension/pypy/module/cpyext/include/pymem.h
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/include/pymem.h	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/include/pymem.h	Sat Apr 10 16:31:22 2010
@@ -7,7 +7,8 @@
 
 /* XXX use obmalloc like cpython and pypy do, otherwise we might get segfaults */
 #define PyObject_MALLOC		PyMem_MALLOC
-#define PyObject_REALLOC	PyMem_REALLOC
+// we won't support this 
+// #define PyObject_REALLOC	PyMem_REALLOC
 #define PyObject_FREE		PyMem_FREE
 
 #define PyMem_Malloc PyMem_MALLOC



More information about the Pypy-commit mailing list