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