Mercurial > hg > GearsTemplate
view src/parallel_execution/Stack.cbc @ 352:3e01e963eb2d
Fix compile error for calc example but not work
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 16 Jun 2017 16:29:27 +0900 |
parents | 3529c7e93c4f |
children | 0c113f8e5a3f |
line wrap: on
line source
typedef struct Stack<Type, Impl>{ Type* stack; Type* data; Type* data1; __code whenEmpty(...); __code clear(Impl* stack,__code next(...)); __code push(Impl* stack,Type* data, __code next(...)); __code pop(Impl* stack, __code next(Type* data, ...)); __code pop2(Impl* stack, Type** data, Type** data1, __code next(Type** data, Type** data1, ...)); __code isEmpty(Impl* stack, __code next(...), __code whenEmpty(...)); __code get(Impl* stack, Type** data, __code next(...)); __code get2(Impl* stack,..., __code next(...)); __code next(...); } Stack;