mirror of
https://github.com/DavidGailleton/42-Push_Swap.git
synced 2026-11-01 08:12:03 +01:00
adding push cause norme and adding functions in the H file
This commit is contained in:
1 parent
c46822b086
commit
804050576b
2 files changed
+16
-3
No files matched your search
@@ -6,7 +6,7 @@
|
||||
/* By: mteriier <mteriier@student.42lyon.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/12/08 15:09:40 by mteriier #+# #+# */
|
||||
/* Updated: 2025/12/08 15:28:53 by mteriier ### ########lyon.fr */
|
||||
/* Updated: 2025/12/08 15:35:23 by mteriier ### ########lyon.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -19,7 +19,7 @@ void pa(t_stacks *stacks)
|
||||
if (!stacks || !stacks->b)
|
||||
return ;
|
||||
a = stack->a;
|
||||
a-value = stacks->b->value;
|
||||
a->value = stacks->b->value;
|
||||
}
|
||||
|
||||
void pb(t_stacks *stacks)
|
||||
|
||||
Reference in new issue
Block a user