File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ static inline char* antioch_show__(void* self)
68
68
Show prep_antioch_show (Antioch * x )
69
69
{
70
70
/* Build the vtable once and attach a pointer to it every time */
71
- static ShowTC const tc = {.show = antioch_show__ };
72
- return (Show ){.tc = & tc , .self = x };
71
+ static ShowTC const tc = { .show = antioch_show__ };
72
+ return (Show ){ .tc = & tc , .self = x };
73
73
}
74
74
75
75
int main (void )
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ typedef struct
32
32
} \
33
33
Show ImplName(T, Show)(T* x) \
34
34
{ \
35
- static ShowTC const tc = {.show = (CONCAT(show_f, __)) }; \
36
- return (Show){.tc = &tc, .self = x}; \
35
+ static ShowTC const tc = { .show = (CONCAT(show_f, __)) }; \
36
+ return (Show){ .tc = &tc, .self = x }; \
37
37
}
38
38
39
39
/* Polymorphic printing function */
You can’t perform that action at this time.
0 commit comments