mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fixes error in Java wrapper generation that caused a crash on Android apps starting
This commit is contained in:
parent
01e15617b6
commit
9dd3f54f91
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class JNINameTranslator(metaname.Translator):
|
|||
|
||||
def translate_class_name(self, name, **params):
|
||||
translated_name = name.to_camel_case()
|
||||
if name.prev is not None:
|
||||
if name.prev is not None and type(name.prev) is not metaname.NamespaceName:
|
||||
return name.prev.translate(self) + self._getseparator(name.prev) + translated_name
|
||||
else:
|
||||
return translated_name
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue