From 415e36042aef9140e56123ba7475fc1189c24499 Mon Sep 17 00:00:00 2001 From: Martin Hermant Date: Mon, 29 May 2017 18:17:15 -0400 Subject: [PATCH] gen_external.py : fix wrong in longname in lib generation --- python/lib/gen_external.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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+'_'] -- 2.11.0