Commit 61a4f099 authored by Stefan Behnel's avatar Stefan Behnel

Fix definition of "__Pyx_CyFunction_USED", which should only be #defined and not have a value.

parent 51e5f433
//////////////////// CythonFunctionShared.proto //////////////////// //////////////////// CythonFunctionShared.proto ////////////////////
#define __Pyx_CyFunction_USED 1 #define __Pyx_CyFunction_USED
#define __Pyx_CYFUNCTION_STATICMETHOD 0x01 #define __Pyx_CYFUNCTION_STATICMETHOD 0x01
#define __Pyx_CYFUNCTION_CLASSMETHOD 0x02 #define __Pyx_CYFUNCTION_CLASSMETHOD 0x02
......
...@@ -2156,7 +2156,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj ...@@ -2156,7 +2156,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj
if (f) { if (f) {
return f(func, args, nargs, kwargs); return f(func, args, nargs, kwargs);
} }
#elif __Pyx_CyFunction_USED && CYTHON_BACKPORT_VECTORCALL #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL
// exclude fused functions for now // exclude fused functions for now
if (__Pyx_CyFunction_CheckExact(func)) { if (__Pyx_CyFunction_CheckExact(func)) {
__pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func); __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment