From: Paul Brossier Date: Fri, 13 May 2016 11:45:42 +0000 (+0200) Subject: python/ext/aubiomodule.c: fix PyMethodDef sentinel X-Git-Tag: 0.4.4~300^2~62 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=84fad5ac08c273b0224d38755ff7e1d884e7345f;p=aubio.git python/ext/aubiomodule.c: fix PyMethodDef sentinel --- 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