From 7a6533373ab9b0dd075f995c98dcf332a7876fac Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 10 Sep 2021 10:54:12 +0200 Subject: Updated to norm v3 --- src/common/stack_helper.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/common/stack_helper.c') diff --git a/src/common/stack_helper.c b/src/common/stack_helper.c index 968060f..fd6f0c5 100644 --- a/src/common/stack_helper.c +++ b/src/common/stack_helper.c @@ -6,25 +6,25 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/01/19 06:40:18 by cacharle #+# #+# */ -/* Updated: 2020/01/22 10:22:54 by cacharle ### ########.fr */ +/* Updated: 2021/09/09 09:53:59 by charles ### ########.fr */ /* */ /* ************************************************************************** */ #include "common.h" -inline void stack_swap_2(t_stack *stack_a, t_stack *stack_b) +inline void stack_swap_2(t_stack *stack_a, t_stack *stack_b) { stack_swap(stack_a); stack_swap(stack_b); } -inline void stack_rotate_2(t_stack *stack_a, t_stack *stack_b) +inline void stack_rotate_2(t_stack *stack_a, t_stack *stack_b) { stack_rotate(stack_a); stack_rotate(stack_b); } -inline void stack_reverse_rotate_2(t_stack *stack_a, t_stack *stack_b) +inline void stack_reverse_rotate_2(t_stack *stack_a, t_stack *stack_b) { stack_reverse_rotate(stack_a); stack_reverse_rotate(stack_b); @@ -35,7 +35,7 @@ inline t_bool stack_empty(t_stack *stack) return (stack->top == -1); } -inline int stack_length(t_stack *stack) +inline int stack_length(t_stack *stack) { return (stack->top + 1); } -- cgit