mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 21:58:08 +00:00
C++ wrapper: fix translation of audio_codecs and video_codecs properties of LinphoneCore
This commit is contained in:
parent
7d49d04548
commit
562b2d3438
1 changed files with 2 additions and 2 deletions
|
|
@ -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.ClassType:
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue