Commit 7c472563 authored by Stefan Behnel's avatar Stefan Behnel

fix accidental argument name reuse in C macro

parent d798137c
......@@ -75,12 +75,6 @@ static int __Pyx_CyFunction_init(void);
//@requires: CommonTypes.c::FetchCommonType
////@requires: ObjectHandling.c::PyObjectGetAttrStr
#if PY_VERSION_HEX < 0x030500A0
#define __Pyx_CyFunction_weakreflist(func) ((func)->func_weakreflist)
#else
#define __Pyx_CyFunction_weakreflist(func) ((func)->func.m_weakreflist)
#endif
static PyObject *
__Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, CYTHON_UNUSED void *closure)
{
......@@ -434,6 +428,13 @@ static PyMethodDef __pyx_CyFunction_methods[] = {
};
#if PY_VERSION_HEX < 0x030500A0
#define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func_weakreflist)
#else
#define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func.m_weakreflist)
#endif
static PyObject *__Pyx_CyFunction_New(PyTypeObject *type, PyMethodDef *ml, int flags, PyObject* qualname,
PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) {
__pyx_CyFunctionObject *op = PyObject_GC_New(__pyx_CyFunctionObject, type);
......
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