Mercurial > hg > Papers > 2021 > anatofuz-master
view paper/src/stack.h @ 91:4232c9dc1431
update
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 05 Feb 2021 19:09:08 +0900 |
parents | 1a4d4e64f0b8 |
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;