python/ext/aubiomodule.c: fix PyMethodDef sentinel
authorPaul Brossier <piem@piem.org>
Fri, 13 May 2016 11:45:42 +0000 (13:45 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 13 May 2016 11:45:42 +0000 (13:45 +0200)
python/ext/aubiomodule.c

index 49068eb..d3f0361 100644 (file)
@@ -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