Data Structures Lerax 1.0.0
Essential Data Structures for C language
Loading...
Searching...
No Matches
stack.h
Go to the documentation of this file.
1
12
13#ifndef STACK_H
14#define STACK_H
15
16#define STACK_STATIC_MAX 10
17
18typedef struct stack Stack;
19
22
25
27void stack_push(Stack* s, int data);
28
31
34
37
40
41// additional functions
42
45
48
49#endif
int stack_odds(Stack *s)
void stack_push(Stack *s, int data)
int stack_pop(Stack *s)
int stack_top(Stack *s)
void stack_print(Stack *s)
void stack_println(Stack *s)
struct stack Stack
Definition stack.h:18
int stack_empty(Stack *s)
Stack * stack_create(void)
void stack_free(Stack *s)