| Index: bindings/dart/scripts/dart_callback_interface.py
|
| diff --git a/bindings/dart/scripts/dart_callback_interface.py b/bindings/dart/scripts/dart_callback_interface.py
|
| index 5120af47c526d6a4c9a754533c5adf9768d48b8f..266fb318939f5a933dc9b5c801c6c84b814bbab3 100644
|
| --- a/bindings/dart/scripts/dart_callback_interface.py
|
| +++ b/bindings/dart/scripts/dart_callback_interface.py
|
| @@ -114,7 +114,9 @@ def generate_method(operation):
|
|
|
| def generate_arguments_contents(arguments, call_with_this_handle):
|
| def generate_argument(argument):
|
| - creation_context = '<Dart%s>' % argument.idl_type.base_type
|
| + creation_context = ''
|
| + if argument.idl_type.native_array_element_type is not None:
|
| + creation_context = '<Dart%s>' % argument.idl_type.native_array_element_type
|
| return {
|
| 'handle': '%sHandle' % argument.name,
|
| 'cpp_value_to_dart_value': argument.idl_type.cpp_value_to_dart_value(argument.name,
|
|
|