Files
C/data_structures/stack/stack_linked_list/stack.h

16 lines
297 B
C
Raw Normal View History

2019-07-01 18:06:21 -07:00
#ifndef __STACK__
#define __STACK__
#define T Stack_T
typedef struct T *T;
extern T Stack_init(void);
extern int Stack_size(T stack);
extern int Stack_empty(T stack);
extern void Stack_push(T stack, void *val);
extern void *Stack_pop(T stack);
extern void Stack_print(T stack);
2019-07-01 18:06:21 -07:00
#undef T
#endif