rework of checker parser to accomodate for string arguments update of libft debuged push & pop functions still need to check for overflow arg
23 lines
1.0 KiB
C
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;
|
|
}
|