mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 00:29:21 +00:00
Allow None for string parameters in the Python wrapper (value passed as NULL to the C code).
This commit is contained in:
parent
e74afa7979
commit
ce1911fe5a
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ class MethodDefinition:
|
|||
basic_type, splitted_type = self.__get_basic_type_from_c_type(ctype)
|
||||
if basic_type == 'char':
|
||||
if '*' in splitted_type:
|
||||
return 's'
|
||||
return 'z'
|
||||
elif 'unsigned' in splitted_type:
|
||||
return 'b'
|
||||
elif basic_type == 'int':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue