From: Stefan Behnel Date: Tue, 23 Feb 2010 15:34:35 +0000 (+0100) Subject: remove 'inline' hint for lengthy dict.get() code X-Git-Tag: 0.13.beta0~319^2~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5483745dbabd3b538d03514f331d3368044ccfc3;p=cython.git remove 'inline' hint for lengthy dict.get() code --- diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index 8f922cb4..a3ef0966 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -1620,7 +1620,7 @@ class OptimizeBuiltinCalls(Visitor.EnvTransform): dict_getitem_default_utility_code = UtilityCode( proto = ''' -static CYTHON_INLINE PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value) { +static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value) { PyObject* value; #if PY_MAJOR_VERSION >= 3 value = PyDict_GetItemWithError(d, key);