3 Jun
2025
3 Jun
'25
2:39 p.m.
Rémi Bernon (@rbernon) commented about tools/widl/typegen.c:
if (args) LIST_FOR_EACH_ENTRY( arg, args, const var_t, entry ) { print_file(file, 2, "%s", ""); - write_type_left( file, &arg->declspec, NAME_DEFAULT, false, TRUE ); + write_type_left( file, &arg->declspec, NAME_DEFAULT, false, TRUE, true );
Can we rather make a local copy of the declspec to clear the const spec than add yet another parameter to this horrible function? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8195#note_105251