summaryrefslogtreecommitdiffstats
path: root/PC/example_nt/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/example_nt/example.c')
-rw-r--r--PC/example_nt/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/example_nt/example.c b/PC/example_nt/example.c
index 46cb429..953fb82 100644
--- a/PC/example_nt/example.c
+++ b/PC/example_nt/example.c
@@ -9,7 +9,7 @@ ex_foo(PyObject *self, PyObject *args)
}
static PyMethodDef example_methods[] = {
- {"foo", ex_foo, 1, "foo() doc string"},
+ {"foo", ex_foo, METH_VARARGS, "foo() doc string"},
{NULL, NULL}
};