mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 23:58:17 +00:00
Fix methods declarations
This commit is contained in:
parent
cfc15904ce
commit
8c28e1a12f
1 changed files with 1 additions and 1 deletions
|
|
@ -1263,7 +1263,7 @@ class JavaLangTranslator(CLikeLangTranslator):
|
|||
return '{0} {1}'.format(arg.type.translate(self, native=native, jni=jni), arg.name.translate(self.nameTranslator))
|
||||
|
||||
def translate_method_as_prototype(self, method, namespace=None):
|
||||
return 'public interface {returnType} {methodName}({arguments})'.format(
|
||||
return 'public {returnType} {methodName}({arguments})'.format(
|
||||
returnType=method.returnType.translate(self),
|
||||
methodName=method.name.translate(self.nameTranslator),
|
||||
arguments=', '.join([arg.translate(self) for arg in method.args])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue