24 Jul
2023
24 Jul
'23
6:13 p.m.
Gabriel Ivăncescu (@insn) commented about dlls/mshtml/mutation.c:
+ V_VT(res) = VT_DISPATCH; + V_DISPATCH(res) = (IDispatch*)mutation_observer; + + return S_OK; +} + +static dispex_static_data_t mutation_observer_ctor_dispex = { + L"Function", + (dispex_static_data_vtbl_t[]){ + { + .value = mutation_observer_ctor_value, + } + }, + NULL_tid, + (const tid_t []){0}, +}; I think you should use separate variables here like the rest of the code instead of inlining the structs.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3391#note_40004