push_swap/srcs/ps_stktools2.c
Tanguy MAZE 7a2037c046 i hate mondays
rework of checker parser to accomodate for string arguments
update of libft
debuged push & pop functions
still need to check for overflow arg
2019-02-25 17:42:47 +01:00

23 lines
1.0 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ps_stktools2.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/02/25 12:44:08 by tmaze #+# #+# */
/* Updated: 2019/02/25 12:48:34 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
#include "push_swap.h"
void ps_initdata(t_psdata *data)
{
data->a = NULL;
data->b = NULL;
data->size_a = 0;
data->size_b = 0;
data->op = NULL;
}