-
Notifications
You must be signed in to change notification settings - Fork 3
decl_stack
sean9892 edited this page Jan 15, 2019
·
1 revision
in "stack.h"
decl_stack(declname,type)
struct declname
{
declname##_node *head, *tail;
size_t dcnt;
void push(declname*,type);
void pop(declname*);
type top(const declname*);
size_t size(const declname*);
bool empty(const declname*);
void clear(declname*);
};
declname make_##declname(void);