Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
db2d4989
Commit
db2d4989
authored
Mar 01, 2017
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep 'is_' prefix for getters starting with it in wrapper generation.
parent
245f14e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/genapixml.py
tools/genapixml.py
+1
-1
No files found.
tools/genapixml.py
View file @
db2d4989
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment