16 Feb
2023
16 Feb
'23
3:52 a.m.
On Wed Feb 15 07:58:03 2023 +0000, Huw Davies wrote:
I think using a designated initializer to set `.Buffer = NULL` would be a little clearer. Would you find `nt_ppd = { 0 }` more or less clear than `nt_ppd = { .Buffer = NULL }`?
Yet another option is `nt_ppd = {}`, which is accepted by both GCC and MSVC and is being standardized in C23. Anyhow, I'm just putting ideas out there. If you like `nt_ppd = { .Buffer = NULL }` best then we'll go with that. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2190#note_24468