Mercurial > hg > Papers > 2021 > soto-prosym
annotate Paper/src/interface.cbc @ 0:c59202657321
init
author | soto <soto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 02 Nov 2021 06:55:58 +0900 |
parents | |
children |
rev | line source |
---|---|
0 | 1 typedef struct Stack<Type, Impl>{ |
2 union Data* stack; | |
3 union Data* data; | |
4 union Data* data1; | |
5 | |
6 __code whenEmpty(...); | |
7 __code clear(Impl* stack,__code next(...)); | |
8 __code push(Impl* stack,Type* data, __code next(...)); | |
9 __code pop(Impl* stack, __code next(Type* data, ...)); | |
10 __code get(Impl* stack, __code next(Type* data, ...)); | |
11 __code next(...); | |
12 } Stack; |