984
|
1 #include "../../../context.h"
|
|
2 #interface "GearsDirectory.h"
|
|
3
|
|
4
|
|
5
|
|
6 __code task1(GearsDirectory* gearsDirectory){
|
|
7 goto gearsDirectory->cd2Child(task2);
|
|
8 }
|
|
9
|
|
10 __code task1_stub(struct Context* context){
|
|
11 GearsDirectory* gearsDirectory = createGearsDirectoryImpl(context);
|
|
12 goto task1(context, gearsDirectory);
|
|
13 }
|
|
14
|
|
15 __code task2(GearsDirectory* gearsDirectory){
|
985
|
16 goto gearsDirectory->cd2Parent(task3);
|
984
|
17 }
|
|
18
|
|
19 __code task2_stub(struct Context* context){
|
|
20 GearsDirectory* gearsDirectory = (struct GearsDirectory*)Gearef(context, GearsDirectory)->gearsDirectory;
|
|
21 goto task2(context, gearsDirectory);
|
|
22 }
|
|
23
|
985
|
24 __code task3(GearsDirectory* gearsDirectory){
|
|
25
|
|
26 }
|
|
27
|
|
28 __code task3_stub(struct Context* context){
|
|
29 GearsDirectory* gearsDirectory = (struct GearsDirectory*)Gearef(context, GearsDirectory)->gearsDirectory;
|
|
30 goto task3(context, gearsDirectory);
|
|
31 }
|
|
32
|
984
|
33 int main(int argc, char** argv) {
|
|
34 printf("main\n");
|
|
35 goto task1();
|
|
36 }
|