Armadillo  0.1.1
TheexpandableOS
stack.h
Go to the documentation of this file.
1 
5 #ifndef __STACK_H__
6 #define __STACK_H__
7 
8 typedef struct Stack stack_t;
9 typedef struct StackNode stack_node_t;
10 
21 void stack_destroy(stack_t *stack);
28 void stack_push(stack_t *stack, void *element);
36 void *stack_pop(stack_t *stack);
43 int stack_size(stack_t *stack);
44 
45 #endif
void stack_destroy(stack_t *stack)
Definition: stack.c:27
stack_t * stack_init()
Definition: stack.c:17
int stack_size(stack_t *stack)
Definition: stack.c:59
Definition: stack.c:10
void stack_push(stack_t *stack, void *element)
Definition: stack.c:34
Definition: stack.c:5
void * stack_pop(stack_t *stack)
Definition: stack.c:45