Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
562b2d34
Commit
562b2d34
authored
Mar 15, 2017
by
François Grisez
Browse files
C++ wrapper: fix translation of audio_codecs and video_codecs properties of LinphoneCore
parent
7d49d045
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wrappers/cpp/genwrapper.py
wrappers/cpp/genwrapper.py
+2
-2
No files found.
wrappers/cpp/genwrapper.py
View file @
562b2d34
...
...
@@ -293,8 +293,8 @@ class CppTranslator(object):
elif
type
(
exprtype
)
is
AbsApi
.
ListType
:
if
type
(
exprtype
.
containedTypeDesc
)
is
AbsApi
.
BaseType
and
exprtype
.
containedTypeDesc
.
name
==
'string'
:
cExpr
=
'StringBctbxListWrapper({0}).c_list()'
.
format
(
cppExpr
)
elif
type
(
exprtype
.
containedTypeDesc
)
is
AbsApi
.
Class
:
ptrType
=
CppTranslator
.
translate_class_type
(
exprtype
,
namespace
=
usedNamespace
)
elif
type
(
exprtype
.
containedTypeDesc
)
is
AbsApi
.
Class
Type
:
ptrType
=
CppTranslator
.
translate_class_type
(
self
,
exprtype
.
containedTypeDesc
,
namespace
=
usedNamespace
)
ptrType
=
CppTranslator
.
sharedPtrTypeExtractor
.
match
(
ptrType
).
group
(
2
)
cExpr
=
'ObjectBctbxListWrapper<{0}>({1}).c_list()'
.
format
(
ptrType
,
cppExpr
)
else
:
...
...
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