diff options
author | Preston Pan <preston@nullring.xyz> | 2023-01-06 11:14:52 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2023-01-06 11:14:52 -0800 |
commit | 30f12dfc1f32688f377913c52b131aa78d7830b5 (patch) | |
tree | b59a2822cb6edb062b9965e6dc89b718d65b596b /src/include/stack.h | |
parent | e98f89c84ec0492a36e364ac32987e17296b33df (diff) |
fixed stack bug; found recursion bug
Diffstat (limited to 'src/include/stack.h')
-rw-r--r-- | src/include/stack.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/stack.h b/src/include/stack.h index 5a58f0b..6b0ed9a 100644 --- a/src/include/stack.h +++ b/src/include/stack.h @@ -13,4 +13,6 @@ void stack_push(stack_t *s, hash_table_t *h); hash_table_t *stack_peek(stack_t *s); hash_table_t *stack_pop(stack_t *s); + +bool is_empty(stack_t *s); #endif |