[pypy-svn] r72989 - pypy/branch/cpython-extension/pypy/module/cpyext/include
agaynor at codespeak.net
agaynor at codespeak.net
Sat Mar 27 23:09:04 CET 2010
Author: agaynor
Date: Sat Mar 27 23:09:03 2010
New Revision: 72989
Modified:
pypy/branch/cpython-extension/pypy/module/cpyext/include/object.h
Log:
Add a backwards compatibility macro.
Modified: pypy/branch/cpython-extension/pypy/module/cpyext/include/object.h
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/include/object.h (original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/include/object.h Sat Mar 27 23:09:03 2010
@@ -5,6 +5,13 @@
#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
+
+/*
+CPyton has this for backwards compatibility with really old extensions, and now
+we have it for compatibility with CPython.
+*/
+#define staticforward static
+
typedef void* Py_buffer;
More information about the Pypy-commit
mailing list