annotate Paper/src/TQueue.h @ 10:7573c185aecf

add impl
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Tue, 25 Jan 2022 22:27:17 +0900
parents
children f8a089dbfe06
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 typedef struct TQueue<>{
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 union Data* tQueue;
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 union Data* data;
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 struct FileString* string;
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 __code whenEmpty(...);
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 __code whenEOF(...);
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 __code clear(Impl* tQueue, __code next(...));
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 __code put(Impl* tQueue, union Data* data, __code next(...));
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 __code take(Impl* tQueue, __code next(union Data* data, ...));
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 __code isEmpty(Impl* tQueue, __code next(...), __code whenEmpty(...));
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 __code sendData(Impl* tQueue, union Data* data, __code next(...));
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 __code getData(Impl* tQueue, __code next(...), __code whenEOF(...));
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 __code next(...);
7573c185aecf add impl
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 } TQueue;