Commit 192b10b3 authored by Andrew Svetlov's avatar Andrew Svetlov

Revert back PyCFunction_New macro. Keep PyCFunction_NewEx usage in python core modules (#15422)

parent cdf680f5
......@@ -46,7 +46,7 @@ struct PyMethodDef {
};
typedef struct PyMethodDef PyMethodDef;
PyAPI_FUNC(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *);
#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL)
PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
PyObject *);
......
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