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

Maciej Fijalkowski fijall at gmail.com
Mon Apr 12 19:18:53 CEST 2010


Why? I think we do support that.

On Sat, Apr 10, 2010 at 8:31 AM,  <jandem at codespeak.net> wrote:
> 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
> _______________________________________________
> pypy-svn mailing list
> pypy-svn at codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-svn
>



More information about the Pypy-dev mailing list