forked from mirrors/linphone-iphone
Keep 'is_' prefix for getters starting with it in wrapper generation.
This commit is contained in:
parent
245f14e705
commit
db2d4989b8
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ class CClass(CObject):
|
|||
if name.startswith('get_') and len(f.arguments) == 1:
|
||||
self.__addPropertyGetter(name[4:], f)
|
||||
elif name.startswith('is_') and len(f.arguments) == 1 and f.returnArgument.ctype == 'bool_t':
|
||||
self.__addPropertyGetter(name[3:], f)
|
||||
self.__addPropertyGetter(name, f)
|
||||
elif name.endswith('_enabled') and len(f.arguments) == 1 and f.returnArgument.ctype == 'bool_t':
|
||||
self.__addPropertyGetter(name, f)
|
||||
elif name.startswith('set_') and len(f.arguments) == 2:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue