annotate src/interface/Stack.h @ 83:d4e22a45a575

mod copy to interface/*.h to *.dir
author anatofuz
date Sat, 12 Oct 2019 15:22:33 +0900
parents src/Stack.h@c976a8bbe8c5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
80
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
1 typedef struct Stack<Type, Impl>{
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
2 union Data* stack;
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
3 union Data* data;
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
4 union Data* data1;
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
5 /* Type* stack; */
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
6 /* Type* data; */
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
7 /* Type* data1; */
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
8 __code whenEmpty(...);
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
9 __code clear(Impl* stack,__code next(...));
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
10 __code push(Impl* stack,Type* data, __code next(...));
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
11 __code pop(Impl* stack, __code next(Type* data, ...));
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
12 __code pop2(Impl* stack, __code next(Type* data, Type* data1, ...));
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
13 __code isEmpty(Impl* stack, __code next(...), __code whenEmpty(...));
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
14 __code get(Impl* stack, __code next(Type* data, ...));
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
15 __code get2(Impl* stack, __code next(Type* data, Type* data1, ...));
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
16 __code next(...);
c976a8bbe8c5 add stac.h and Stac.cbc
tobaru
parents:
diff changeset
17 } Stack;