[pypy-svn] r23880 - pypy/dist/pypy/translator/c/src
mwh at codespeak.net
mwh at codespeak.net
Thu Mar 2 00:57:31 CET 2006
Author: mwh
Date: Thu Mar 2 00:57:28 2006
New Revision: 23880
Modified:
pypy/dist/pypy/translator/c/src/support.h
Log:
don't duplicate the declaration of PyTuple_Pack (breaks on 2.5 with the
Py_ssize_t changes)
Modified: pypy/dist/pypy/translator/c/src/support.h
==============================================================================
--- pypy/dist/pypy/translator/c/src/support.h (original)
+++ pypy/dist/pypy/translator/c/src/support.h Thu Mar 2 00:57:28 2006
@@ -33,7 +33,9 @@
PyObject * gencfunc_descr_get(PyObject *func, PyObject *obj, PyObject *type);
PyObject* PyList_Pack(int n, ...);
PyObject* PyDict_Pack(int n, ...);
+#if PY_VERSION_HEX < 0x02040000 /* 2.4 */
PyObject* PyTuple_Pack(int n, ...);
+#endif
#if PY_VERSION_HEX >= 0x02030000 /* 2.3 */
# define PyObject_GetItem1 PyObject_GetItem
# define PyObject_SetItem1 PyObject_SetItem
More information about the Pypy-commit
mailing list