projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ca9d5aa
)
[py] py-cvec uses PyLong_FromLong
author
Paul Brossier
<piem@piem.org>
Wed, 19 Dec 2018 16:14:08 +0000
(17:14 +0100)
committer
Paul Brossier
<piem@piem.org>
Wed, 19 Dec 2018 16:14:08 +0000
(17:14 +0100)
python/ext/py-cvec.c
patch
|
blob
|
history
diff --git
a/python/ext/py-cvec.c
b/python/ext/py-cvec.c
index
9854b6d
..
1c9316a
100644
(file)
--- a/
python/ext/py-cvec.c
+++ b/
python/ext/py-cvec.c
@@
-136,7
+136,7
@@
Py_cvec_repr (Py_cvec * self, PyObject * unused)
goto fail;
}
goto fail;
}
- args = Py
_BuildValue ("I",
self->length);
+ args = Py
Long_FromLong(
self->length);
if (args == NULL) {
goto fail;
}
if (args == NULL) {
goto fail;
}