Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
Loading...
Searching...
No Matches
stack.h
1#ifndef __STACK__
2#define __STACK__
3
4#define T Stack_T
5typedef struct T *T;
6
7extern T Stack_init(void);
8extern int Stack_size(T stack);
9extern int Stack_empty(T stack);
10extern void Stack_push(T stack, void *val);
11extern void *Stack_pop(T stack);
12extern void Stack_print(T stack);
13
14#undef T
15#endif
Definition stack.c:16
Definition 901.c:6