]>
git.datanom.net - clib.git/blob - src/stack.h
6 typedef struct _Stack Stack
;
7 typedef void (*StackFreeFunc
)(void*);
10 Stack
* stack_new_full(StackFreeFunc free
);
11 void stack_destroy(Stack
*);
12 void* stack_pop(Stack
*);
13 void stack_push(Stack
*, void*);
14 void* stack_peek(Stack
*);
15 bool stack_empty(Stack
*);
16 void stack_clear(Stack
*);
17 int stack_size(Stack
*);
This page took 0.120476 seconds and 6 git commands to generate.