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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 typedef struct Stack<Type, Impl>{
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 union Data* stack;
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 union Data* data;
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 union Data* data1;
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 __code whenEmpty(...);
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 __code clear(Impl* stack,__code next(...));
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 __code push(Impl* stack,Type* data, __code next(...));
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 __code pop(Impl* stack, __code next(Type* data, ...));
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 __code get(Impl* stack, __code next(Type* data, ...));
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 __code next(...);
soto <soto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 } Stack;