mirror of
https://github.com/DavidGailleton/42-Push_Swap.git
synced 2026-01-27 00:41:57 +00:00
modified some files like all files in stack utils and adding main.c and modified atoi and parssing
This commit is contained in:
@@ -6,15 +6,15 @@
|
||||
/* By: mteriier <mteriier@student.42lyon.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/12/08 14:48:44 by mteriier #+# #+# */
|
||||
/* Updated: 2025/12/08 15:04:39 by mteriier ### ########lyon.fr */
|
||||
/* Updated: 2025/12/08 19:40:49 by mteriier ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "push_swap.h"
|
||||
#include "../push_swap.h"
|
||||
|
||||
void sa(t_stacks *stacks)
|
||||
{
|
||||
t_stack a;
|
||||
t_stack *a;
|
||||
int stock;
|
||||
|
||||
if (!stacks || !stacks->a || !stacks->a->next)
|
||||
@@ -27,7 +27,7 @@ void sa(t_stacks *stacks)
|
||||
|
||||
void sb(t_stacks *stacks)
|
||||
{
|
||||
t_stack b;
|
||||
t_stack *b;
|
||||
int stock;
|
||||
|
||||
if (!stacks || !stacks->b || !stacks->b->next)
|
||||
|
||||
Reference in New Issue
Block a user