Mercurial > hg > Papers > 2022 > ikki-master
view Paper/src/TQueue.h @ 23:9a6609a2f987
twaek
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 10 Feb 2022 01:08:27 +0900 |
parents | f8a089dbfe06 |
children |
line wrap: on
line source
typedef struct CQueue<>{ union Data* cQueue; union Data* data; __code whenEmpty(...); __code whenEOF(...); __code clear(Impl* cQueue, __code next(...)); __code put(Impl* cQueue, union Data* data, __code next(...)); __code take(Impl* cQueue, __code next(union Data* data, ...)); __code isEmpty(Impl* cQueue, __code next(...), __code whenEmpty(...)); __code getData(Impl* cQueue, __code next(...), __code whenEOF(...)); __code next(...); } CQueue;