diff options
Diffstat (limited to 'src/stack.h')
| -rw-r--r-- | src/stack.h | 17 |
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 | |||
| 6 | void stack_init (int alignment_mask); | ||
| 7 | void stack_free (void); | ||
| 8 | int stack_count_u32 (void); | ||
| 9 | void stack_push_u32 (u32 num); | ||
| 10 | u32 stack_pop_u32 (void); | ||
| 11 | void stack_discard_u32 (void); | ||
| 12 | void stack_clear (void); | ||
| 13 | u32 stack_top_u32 (void); | ||
| 14 | void *stack_base (void); | ||
| 15 | void *stack_end (void); | ||
| 16 | |||
| 17 | #endif | ||
