[pypy-svn] r73951 - pypy/branch/cpython-extension/pypy/module/cpyext/include
afa at codespeak.net
afa at codespeak.net
Wed Apr 21 23:46:34 CEST 2010
Author: afa
Date: Wed Apr 21 23:46:32 2010
New Revision: 73951
Modified:
pypy/branch/cpython-extension/pypy/module/cpyext/include/object.h
Log:
Don't define these macros for now
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 Wed Apr 21 23:46:32 2010
@@ -51,9 +51,11 @@
} \
} while (0)
+#if 0 /* This will be added with python 2.6 */
#define Py_REFCNT(ob) (((PyObject*)(ob))->ob_refcnt)
#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
+#endif /* This will be added with python 2.6 */
#define Py_None (&_Py_NoneStruct)
More information about the Pypy-commit
mailing list