Commit 522b2231 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Added #define for oldest version of argument calling

parent a803b047
...@@ -50,6 +50,7 @@ extern DL_IMPORT(PyObject *) Py_FindMethod(PyMethodDef[], PyObject *, char *); ...@@ -50,6 +50,7 @@ extern DL_IMPORT(PyObject *) Py_FindMethod(PyMethodDef[], PyObject *, char *);
extern DL_IMPORT(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *); extern DL_IMPORT(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *);
/* Flag passed to newmethodobject */ /* Flag passed to newmethodobject */
#define METH_OLDARGS 0x0000
#define METH_VARARGS 0x0001 #define METH_VARARGS 0x0001
#define METH_KEYWORDS 0x0002 #define METH_KEYWORDS 0x0002
......
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