projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
163d159
)
python/ext/aubiomodule.c: fix PyMethodDef sentinel
author
Paul Brossier
<piem@piem.org>
Fri, 13 May 2016 11:45:42 +0000
(13:45 +0200)
committer
Paul Brossier
<piem@piem.org>
Fri, 13 May 2016 11:45:42 +0000
(13:45 +0200)
python/ext/aubiomodule.c
patch
|
blob
|
history
diff --git
a/python/ext/aubiomodule.c
b/python/ext/aubiomodule.c
index
49068eb
..
d3f0361
100644
(file)
--- 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