Mercurial > hg > Papers > 2018 > ryokka-sigos
annotate Paper/src/interface.cbc @ 12:e20725cd6d8a default tip
fix slides
author | ryokka |
---|---|
date | Mon, 21 May 2018 00:29:29 +0900 |
parents | bf2887cd22c1 |
children |
rev | line source |
---|---|
1 | 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; |