diff options
author | Hampus <hampus@hampusmat.com> | 2021-12-18 18:56:20 +0100 |
---|---|---|
committer | Hampus <hampus@hampusmat.com> | 2021-12-18 18:56:20 +0100 |
commit | 2f945e6c0edaf679d693cdfa61aeba62403dec9f (patch) | |
tree | 03079dc5f53edbbd0bb68d1ba5eb978f7c21709e /src/position_stack.h | |
parent | c29486fecc272de43c11f4f26456094ce265b6f2 (diff) |
refactor: clarify maze and stack logic
Diffstat (limited to 'src/position_stack.h')
-rw-r--r-- | src/position_stack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/position_stack.h b/src/position_stack.h index fe93e8c..82c1975 100644 --- a/src/position_stack.h +++ b/src/position_stack.h @@ -12,7 +12,7 @@ struct Position struct PositionStack { - int max_size; + int capacity; int top; struct Position *items; }; @@ -25,4 +25,4 @@ struct Position pos_stack_peek(struct PositionStack *stack_pt); struct Position pos_stack_pop(struct PositionStack *stack_pt); -#endif
\ No newline at end of file +#endif |