aboutsummaryrefslogtreecommitdiff
path: root/src/stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stack.h')
-rw-r--r--src/stack.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/stack.h b/src/stack.h
new file mode 100644
index 0000000..d30f81b
--- /dev/null
+++ b/src/stack.h
@@ -0,0 +1,17 @@
1#ifndef STACK_H
2#define STACK_H
3
4#include "utils.h"
5
6void stack_init (int alignment_mask);
7void stack_free (void);
8int stack_count_u32 (void);
9void stack_push_u32 (u32 num);
10u32 stack_pop_u32 (void);
11void stack_discard_u32 (void);
12void stack_clear (void);
13u32 stack_top_u32 (void);
14void *stack_base (void);
15void *stack_end (void);
16
17#endif