Mercurial > hg > Members > menikon > CbC_xv6
view src/interface/Stack.h @ 291:96fd8e1db32f
fix_gen_stub.pl
author | anatofuz |
---|---|
date | Tue, 04 Feb 2020 12:08:33 +0900 |
parents | d4e22a45a575 |
children |
line wrap: on
line source
typedef struct Stack<Type, Impl>{ __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, __code next(Type* data, Type* data1, ...)); __code isEmpty(Impl* stack, __code next(...), __code whenEmpty(...)); __code get(Impl* stack, __code next(Type* data, ...)); __code get2(Impl* stack, __code next(Type* data, Type* data1, ...)); __code next(...); } Stack;