3 Jul
2025
3 Jul
'25
2:54 p.m.
Rémi Bernon (@rbernon) commented about tools/widl/header.c:
} }
-static void write_header_stmts(FILE *header, const statement_list_t *stmts, const type_t *iface, int ignore_funcs) -{ - const statement_t *stmt; - if (stmts) LIST_FOR_EACH_ENTRY( stmt, stmts, const statement_t, entry ) - { - switch (stmt->type) +static void write_header_stmts(FILE *header, const statement_list_t *stmts, const type_t *iface, int ignore_funcs); + +static void write_type(FILE *header, /*const */ type_t *type, bool is_defined) Let's fix indentation (4 spaces) and style (as it seems we're adopting ntdll style with space in parentheses for new widl code) while we're moving things.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8500#note_108743