16 Feb
2026
16 Feb
'26
2:28 a.m.
On Mon Feb 16 08:28:24 2026 +0000, Gabriel Ivăncescu wrote:
No, there's no other pointer, it takes the address of header which is basically the address of the entire struct, since the function is generic to all event tasks (the correct one is retrieved in the specified procs). Aha, I see it now: `&task` == `&task->header`, and `winegcc` should not reorder fields in a struct by default.
OK, it seems like I should be more careful. Thank you Jacek and Gabriel for the review! -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10096#note_129723