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.