[pypy-svn] r74444 - pypy/trunk/pypy/module/cpyext/include

afa at codespeak.net afa at codespeak.net
Sat May 8 14:44:16 CEST 2010


Author: afa
Date: Sat May  8 14:44:14 2010
New Revision: 74444

Modified:
   pypy/trunk/pypy/module/cpyext/include/complexobject.h
Log:
Actually use the macro we've defined


Modified: pypy/trunk/pypy/module/cpyext/include/complexobject.h
==============================================================================
--- pypy/trunk/pypy/module/cpyext/include/complexobject.h	(original)
+++ pypy/trunk/pypy/module/cpyext/include/complexobject.h	Sat May  8 14:44:14 2010
@@ -14,7 +14,7 @@
 /* generated function */
 PyAPI_FUNC(void) _PyComplex_AsCComplex(PyObject *, Py_complex *);
 
-_inline static Py_complex PyComplex_AsCComplex(PyObject *obj)
+Py_LOCAL_INLINE(Py_complex) PyComplex_AsCComplex(PyObject *obj)
 {
     Py_complex result;
     _PyComplex_AsCComplex(obj, &result);



More information about the Pypy-commit mailing list