Mercurial > hg > Members > Moririn
comparison src/parallel_execution/Stack.cbc @ 351:3529c7e93c4f
fix generate_stub
author | mir3636 |
---|---|
date | Thu, 08 Jun 2017 15:44:39 +0900 |
parents | 8a8963ce9858 |
children | 0c113f8e5a3f |
comparison
equal
deleted
inserted
replaced
350:a9863b41f026 | 351:3529c7e93c4f |
---|---|
1 typedef struct Stack<Impl>{ | 1 typedef struct Stack<Type, Impl>{ |
2 union Data* stack; | 2 Type* stack; |
3 union Data* data; | 3 Type* data; |
4 union Data* data1; | 4 Type* data1; |
5 __code whenEmpty(...); | 5 __code whenEmpty(...); |
6 __code clear(Impl* stack,__code next(...)); | 6 __code clear(Impl* stack,__code next(...)); |
7 __code push(Impl* stack,union Data* data, __code next(...)); | 7 __code push(Impl* stack,Type* data, __code next(...)); |
8 __code pop(Impl* stack, __code next(union Data*, ...)); | 8 __code pop(Impl* stack, __code next(Type* data, ...)); |
9 __code pop2(Impl* stack, union Data** data, union Data** data1, __code next(union Data**, union Data**, ...)); | 9 __code pop2(Impl* stack, Type** data, Type** data1, __code next(Type** data, Type** data1, ...)); |
10 __code isEmpty(Impl* stack, __code next(...), __code whenEmpty(...)); | 10 __code isEmpty(Impl* stack, __code next(...), __code whenEmpty(...)); |
11 __code get(Impl* stack, union Data** data, __code next(...)); | 11 __code get(Impl* stack, Type** data, __code next(...)); |
12 __code get2(Impl* stack,..., __code next(...)); | 12 __code get2(Impl* stack,..., __code next(...)); |
13 __code next(...); | 13 __code next(...); |
14 } Stack; | 14 } Stack; |
15 | 15 |