Commit | Line | Data |
---|---|---|
8f657093 C |
1 | @ object @ |
2 | typedef IFace; | |
3 | typedef IFaceVtbl; | |
4 | type Tobj; | |
5 | field list[nilla] F; | |
6 | @@ | |
7 | typedef struct tag_obj { | |
8 | F | |
9 | - const IFaceVtbl *lpVtbl; | |
10 | + IFace IFace_iface; | |
11 | ... | |
12 | } Tobj; | |
13 | ||
14 | ||
15 | @@ | |
16 | identifier obj; | |
17 | identifier vtbl; | |
18 | initializer list[object.nilla] E; | |
19 | @@ | |
20 | static struct IFaceImpl obj = { | |
21 | E, | |
22 | - &vtbl, | |
23 | + { &vtbl, 4, }, | |
24 | ..., | |
25 | }; |