Commits

Armin Rigo committed b26d37a

Always define these functions. They are used even in non-standalone
tests, e.g. test/test_rffi.py, which would crash on 64-bit because
they are used the implicitly-defined version --- returning ints.

Comments (0)

Files changed (1)

pypy/translator/c/src/allocator.h

-#ifdef PYPY_STANDALONE 
 /* allocation functions prototypes */
 void *PyObject_Malloc(size_t n);
 void *PyObject_Realloc(void *p, size_t n);
 void PyObject_Free(void *p);
-
-#endif  /* PYPY_STANDALONE */