python/lib/gen_pyobject.py: add sint_t
authorPaul Brossier <piem@piem.org>
Tue, 9 Feb 2016 14:35:00 +0000 (15:35 +0100)
committerPaul Brossier <piem@piem.org>
Tue, 9 Feb 2016 14:35:00 +0000 (15:35 +0100)
python/lib/gen_pyobject.py

index ba8274e..8c5e37f 100644 (file)
@@ -108,6 +108,7 @@ defaultsizes = {
 # default value for variables
 aubioinitvalue = {
     'uint_t': 0,
+    'sint_t': 0,
     'smpl_t': 0,
     'lsmp_t': 0.,
     'char_t*': 'NULL',
@@ -137,6 +138,7 @@ aubiodefvalue = {
 # aubio to python
 aubio2pytypes = {
     'uint_t': 'I',
+    'sint_t': 'I',
     'smpl_t': 'f',
     'lsmp_t': 'd',
     'fvec_t*': 'O',