Mercurial > hg > Gears > Gears
view src/parallel_execution/Stack.h @ 771:9323327f09ae
remove generics
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 09 Jan 2021 17:15:01 +0900 |
parents | 642b9ae21844 |
children |
line wrap: on
line source
typedef struct Stack<>{ __code clear(Impl* stack,__code next(...)); __code push(Impl* stack,union Data* data, __code next(...)); __code pop(Impl* stack, __code next(union Data* data, ...)); __code pop2(Impl* stack, __code next(union Data* data, union Data* data1, ...)); __code isEmpty(Impl* stack, __code next(...), __code whenEmpty(...)); __code get(Impl* stack, __code next(union Data* data, ...)); __code get2(Impl* stack, __code next(union Data* data, union Data* data1, ...)); __code next(...); __code whenEmpty(...); } Stack;