| Index: sky/engine/bindings/scripts/dart_callback_interface.py
|
| diff --git a/sky/engine/bindings/scripts/dart_callback_interface.py b/sky/engine/bindings/scripts/dart_callback_interface.py
|
| index 8ec81032a628a555d3a3f2e95fa82e2108d978dc..99f2ad625ba489c8c0a0d5d5cca49f0cc11c12d9 100644
|
| --- a/sky/engine/bindings/scripts/dart_callback_interface.py
|
| +++ b/sky/engine/bindings/scripts/dart_callback_interface.py
|
| @@ -124,7 +124,12 @@ def generate_arguments_contents(arguments, call_with_this_handle):
|
| for argument in arguments]
|
| if call_with_this_handle:
|
| argument_declarations.insert(0, 'ScriptValue thisValue')
|
| +
|
| + dart_argument_declarations = [
|
| + '%s %s' % (dart_types.idl_type_to_dart_type(argument.idl_type), argument.name)
|
| + for argument in arguments]
|
| return {
|
| 'argument_declarations': argument_declarations,
|
| + 'dart_argument_declarations': dart_argument_declarations,
|
| 'arguments': [generate_argument(argument) for argument in arguments],
|
| }
|
|
|