1
0
Fork 0

[.NET] Fix EmitSignal with typed array parameters

Signals with typed arrays were generating EmitSignal methods with untyped array parameters.
This commit is contained in:
Raul Santos 2024-12-20 06:51:09 +01:00
parent 89001f91d2
commit 975369fceb
No known key found for this signature in database
GPG Key ID: B532473AE3A803E4
1 changed files with 3 additions and 1 deletions

View File

@ -3360,7 +3360,9 @@ Error BindingsGenerator::_generate_cs_signal(const BindingsGenerator::TypeInterf
cs_emitsignal_params << ", ";
}
p_output << arg_type->cs_type << " " << iarg.name;
String arg_cs_type = arg_type->cs_type + _get_generic_type_parameters(*arg_type, iarg.type.generic_type_parameters);
p_output << arg_cs_type << " " << iarg.name;
if (arg_type->is_enum) {
cs_emitsignal_params << "(long)";