]> git.datanom.net - clib.git/blob - stack.h
2ff3a7d4a8aba2c9de2a8094d33dd30d2b8b10bf
[clib.git] / stack.h
1 #ifndef _STACK_H_
2 #define _STACK_H_
3
4 #include <stdbool.h>
5
6 typedef struct _Stack Stack;
7
8 Stack* stack_init();
9 void* stack_pop(Stack*);
10 void stack_push(Stack*, void*);
11 void* stack_peek(Stack*);
12 bool stack_empty(Stack*);
13 void** stack_clear(Stack** stack);
14
15 #endif
This page took 0.102105 seconds and 4 git commands to generate.