diff --git a/binding_generator.py b/binding_generator.py index a1b7572..d3e7e8f 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -2573,6 +2573,8 @@ def correct_default_value(value, type_name): return f"{type_name}()" if value.startswith("Array["): return f"{{}}" + if value.startswith("&"): + return value[1::] return value