diff Paper/codes/wc/Wc.h @ 17:0d703e0d9781

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 05 May 2021 15:31:39 +0900
parents 92975c2d26b3
children
line wrap: on
line diff
--- a/Paper/codes/wc/Wc.h	Wed May 05 11:22:41 2021 +0900
+++ b/Paper/codes/wc/Wc.h	Wed May 05 15:31:39 2021 +0900
@@ -1,9 +1,9 @@
 typedef struct Wc <> {
   // all arguments names in this interfaces here
   union Data* wc;       // an implementation
-  WcResult* result;    
+  Block * block;    
+  StdData * reuslt;    
+  Ack * ack;    
   // codeGear entries of this interface
-  __code openFile(Impl* wc, __code next(...));
-  __code countUp(Impl* wc, __code next(WcResult* result, ...));
-  __code next(...);
+  __code take(Impl* wc, Block *block,__code next(Ack *ack, ...),__code finish(StdData *result,...);
 } Wc;