python/ext/py-cvec.c: rewrite and simplify aubio.cvec, safer and better memory usage...
[aubio.git] / python / lib / gen_code.py
index d2107a9..2ef3bc2 100644 (file)
@@ -37,7 +37,7 @@ pyfromtype_fn = {
 
 pytoaubio_fn = {
         'fvec_t*': 'PyAubio_ArrayToCFvec',
-        'cvec_t*': 'PyAubio_ArrayToCCvec',
+        'cvec_t*': 'PyAubio_PyCvecToCCvec',
         #'fmat_t*': 'PyAubio_ArrayToCFmat',
         }