From 30f12dfc1f32688f377913c52b131aa78d7830b5 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Fri, 6 Jan 2023 11:14:52 -0800 Subject: fixed stack bug; found recursion bug --- src/include/stack.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') 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 -- cgit