We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 702aa29 commit 2d1912aCopy full SHA for 2d1912a
uniffi_bindgen/src/bindings/python/templates/CallbackInterfaceImpl.py
@@ -21,9 +21,9 @@ def {{ callable.name }}(
21
):
22
uniffi_obj = {{ ffi_converter_name }}._handle_map.get(uniffi_handle)
23
def make_call():
24
- args = ({% for arg in callable.arguments %}{{ arg.ty.ffi_converter_name }}.lift({{ arg.name }}), {% endfor %})
25
- method = uniffi_obj.{{ callable.name }}
26
- return method(*args)
+ uniffi_args = ({% for arg in callable.arguments %}{{ arg.ty.ffi_converter_name }}.lift({{ arg.name }}), {% endfor %})
+ uniffi_method = uniffi_obj.{{ callable.name }}
+ return uniffi_method(*uniffi_args)
27
28
{%- match callable.async_data %}
29
{%- when None %}
0 commit comments