view 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
line wrap: on
line source

typedef struct Stack<Type, Impl>{
        union Data* stack;
        union Data* data;
        union Data* 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 get(Impl* stack, __code next(Type* data, ...));
        __code next(...);
} Stack;