view paper/src/stack.h @ 79:3022da6f729f

...
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 04 Feb 2021 22:02:25 +0900 (2021-02-04)
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;