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?