Alexandre Julliard pushed to branch master at wine / wine
Commits: 72be6178 by Rémi Bernon at 2025-06-12T22:34:47+02:00 widl: Write apicontracts macros before they are used.
- - - - - 66c29dc4 by Rémi Bernon at 2025-06-12T22:34:47+02:00 widl: Skip writing type definition if already written.
- - - - - 19441ac8 by Rémi Bernon at 2025-06-12T22:34:47+02:00 widl: Always write WinRT enum type definitions.
MSVC supports enum type forward declarations and doesn't complain if the enum is only defined in a later included file, but GCC requires enums to be defined before being used in parameters or fields.
This emits every WinRT enum definition, unlike MIDL, before any typedef, so that the generated headers then work with GCC.
- - - - -
1 changed file:
- tools/widl/header.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/8a0fad5907ea42c42006978189f807...