From 84fad5ac08c273b0224d38755ff7e1d884e7345f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 13 May 2016 13:45:42 +0200 Subject: [PATCH] python/ext/aubiomodule.c: fix PyMethodDef sentinel --- python/ext/aubiomodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ext/aubiomodule.c b/python/ext/aubiomodule.c index 49068eb3..d3f03610 100644 --- a/python/ext/aubiomodule.c +++ b/python/ext/aubiomodule.c @@ -238,7 +238,7 @@ static PyMethodDef aubio_methods[] = { {"silence_detection", Py_aubio_silence_detection, METH_VARARGS, Py_aubio_silence_detection_doc}, {"level_detection", Py_aubio_level_detection, METH_VARARGS, Py_aubio_level_detection_doc}, {"window", Py_aubio_window, METH_VARARGS, Py_aubio_window_doc}, - {NULL, NULL} /* Sentinel */ + {NULL, NULL, 0, NULL} /* Sentinel */ }; #if PY_MAJOR_VERSION >= 3 -- 2.11.0