Mercurial > hg > Papers > 2021 > ikki-sigos
annotate Paper/codes/wc/Wc.h @ 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 | 0d703e0d9781 |
rev | line source |
---|---|
15
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 typedef struct Wc <> { |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 // all arguments names in this interfaces here |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 union Data* wc; // an implementation |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4 WcResult* result; |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
5 // codeGear entries of this interface |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
6 __code openFile(Impl* wc, __code next(...)); |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
7 __code countUp(Impl* wc, __code next(WcResult* result, ...)); |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
8 __code next(...); |
92975c2d26b3
add GearBox and Christie form
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
9 } Wc; |