From 0cc70b04ab27038fcc56c316575b97c2e3b44437 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Tue, 12 Aug 2014 10:53:08 +0200 Subject: [PATCH] Fix *_ref(), *_unref(), *_destroy() appearing in the Python wrapper. --- tools/python/apixml2python/linphone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/apixml2python/linphone.py b/tools/python/apixml2python/linphone.py index 281451973..e2b3141d9 100644 --- a/tools/python/apixml2python/linphone.py +++ b/tools/python/apixml2python/linphone.py @@ -784,7 +784,7 @@ class LinphoneModule(object): method_name = xml_instance_method.get('name') if method_name in blacklisted_functions: continue - if method_name in self.internal_instance_method_names: + if method_name.replace(c['class_c_function_prefix'], '') in self.internal_instance_method_names: continue m = {} m['method_name'] = method_name.replace(c['class_c_function_prefix'], '')