mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fix C# wrapper
This commit is contained in:
parent
0684ac4649
commit
1fe9f6d4c6
1 changed files with 3 additions and 3 deletions
|
|
@ -532,12 +532,12 @@ namespace Linphone
|
|||
return fromNativePtr<{{type}}>(ptr, {{takeRef}});
|
||||
{{/is_class}}
|
||||
{{#is_enum}}
|
||||
{{#exception}}int exception_result = {{/exception}}{{return}}{{c_name}}({{nativePtr}}{{c_args}});
|
||||
{{#exception}}int exception_result = {{/exception}}{{return}}{{c_name}}({{nativePtr}}{{{c_args}}});
|
||||
{{#exception}}if (exception_result != 0) throw new LinphoneException("{{name}} returned value " + exception_result);{{/exception}}
|
||||
{{/is_enum}}
|
||||
{{#is_generic}}
|
||||
{{#exception}}int exception_result = {{/exception}}{{return}}{{c_name}}({{nativePtr}}{{c_args}});
|
||||
{{#exception}}if (exception_result != 0) throw new LinphoneException("{{name}} returned value " + exception_result);{{/exception}}
|
||||
{{#exception}}int exception_result = {{/exception}}{{return}}{{c_name}}({{nativePtr}}{{{c_args}}});
|
||||
{{#exception}}if (exception_result != 0) throw new LinphoneException("{{name}} returned value" + exception_result);{{/exception}}
|
||||
{{/is_generic}}
|
||||
{{#is_string_list}}
|
||||
return MarshalStringArray({{c_name}}({{nativePtr}}{{c_args}}));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue