Mercurial > hg > Papers > 2020 > soto-midterm
comparison src/interface.cbc @ 1:73127e0ab57c
(none)
author | soto@cr.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 08 Sep 2020 18:38:08 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:b919985837a3 | 1:73127e0ab57c |
---|---|
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; |