mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 02:39:22 +00:00
Fix format string for size_t type in Python module.
This commit is contained in:
parent
fff1e94168
commit
39c2d93bdd
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ class ArgumentType:
|
|||
"""if (PyInt_Check({arg_name})) {result_name}{result_suffix} = {cast}(size_t)PyInt_AsSsize_t({arg_name});
|
||||
else if (PyLong_Check({arg_name})) {result_name}{result_suffix} = {cast}(size_t)PyLong_AsSsize_t({arg_name});
|
||||
"""
|
||||
self.fmt_str = 'L'
|
||||
self.fmt_str = 'n'
|
||||
self.cfmt_str = '%lu'
|
||||
elif self.basic_type == 'float':
|
||||
self.type_str = 'float'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue