Mercurial > hg > Papers > 2021 > ikki-sigos
annotate Paper/codes/wc/main.cbc @ 15:92975c2d26b3
add GearBox and Christie form
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 04 May 2021 22:46:05 +0900 |
parents | |
children | 2d91b4d2569c |
rev | line source |
---|---|
15
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 #data "wcTarget.h" |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 #interface "Wc.h" |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4 |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
5 __code startCode(struct GearsData* gearsData) { |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
6 Wc* wc = createWcImpl(context, /* file name */ gearsData->args[1] ); |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
7 goto wc->openFile(code2); |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
8 } |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
9 |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
10 |