shithub: aubio

Download patch

ref: 415e36042aef9140e56123ba7475fc1189c24499
parent: 8f343e64c8858d9f83adcc7eb52cdd9173451a11
author: Martin Hermant <martin.hermant@gmail.com>
date: Mon May 29 14:17:15 EDT 2017

gen_external.py : fix wrong in longname in lib generation

--- a/python/lib/gen_external.py
+++ b/python/lib/gen_external.py
@@ -150,7 +150,7 @@
         if shortname in skip_objects:
             continue
         lib[shortname] = {'struct': [], 'new': [], 'del': [], 'do': [], 'get': [], 'set': [], 'other': []}
-        lib[shortname]['longname'] = o
+        lib[shortname]['longname'] = longname
         lib[shortname]['shortname'] = shortname
         valid_funcname_part = ['_'+longname,longname+'_']