diff --git a/binding_generator.py b/binding_generator.py index 54008495..596b43a4 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -2321,6 +2321,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