From: Martin Hermant Date: Mon, 29 May 2017 22:17:15 +0000 (-0400) Subject: gen_external.py : fix wrong in longname in lib generation X-Git-Tag: 0.4.6~52^2~15 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=415e36042aef9140e56123ba7475fc1189c24499;p=aubio.git gen_external.py : fix wrong in longname in lib generation --- diff --git a/python/lib/gen_external.py b/python/lib/gen_external.py index cf2d3c20..1a81cc21 100644 --- a/python/lib/gen_external.py +++ b/python/lib/gen_external.py @@ -150,7 +150,7 @@ def analyze_c_declarations(cpp_objects, c_declarations): 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+'_']