History

python/ext/aubiomodule.c: fix PyMethodDef sentinel

Paul Brossier committed 10 years ago

Commit 84fad5a1 parent 163d1591 file · +1 −1Browse files

Showing the changes to python/ext (1 of 1 file). Show all

Unified · Split

python/ext/aubiomodule.c+1−1
@@ -238,7 +238,7 @@ static PyMethodDef aubio_methods[] = { · 237 unmodified lines
238238 {"silence_detection", Py_aubio_silence_detection, METH_VARARGS, Py_aubio_silence_detection_doc},
239239 {"level_detection", Py_aubio_level_detection, METH_VARARGS, Py_aubio_level_detection_doc},
240240 {"window", Py_aubio_window, METH_VARARGS, Py_aubio_window_doc},
241− {NULL, NULL} /* Sentinel */
241+ {NULL, NULL, 0, NULL} /* Sentinel */
242242 };
243243
244244 #if PY_MAJOR_VERSION >= 3

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t