view 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
line wrap: on
line source

typedef struct Wc <> {
  // all arguments names in this interfaces here
  union Data* wc;       // an implementation
  WcResult* result;    
  // codeGear entries of this interface
  __code openFile(Impl* wc, __code next(...));
  __code countUp(Impl* wc, __code next(WcResult* result, ...));
  __code next(...);
} Wc;