mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Cpp wrapper: fix bug concerning 'void *'
This commit is contained in:
parent
aa80b003cc
commit
b82742a5f0
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ class CppTranslator(object):
|
|||
if type(exprtype) is AbsApi.BaseType:
|
||||
if exprtype.name == 'string':
|
||||
cExpr = 'cppStringToC({0})'.format(cppExpr);
|
||||
elif exprtype not in ['void', 'string', 'string_array'] and exprtype.isref:
|
||||
elif exprtype.name not in ['void', 'string', 'string_array'] and exprtype.isref:
|
||||
cExpr = '&' + cppExpr
|
||||
else:
|
||||
cExpr = cppExpr
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue