lem_in/srcs/lm_initdata.c
Mthandazo Ndhlovu 56537c0917 Semi Final Parser
Parser working fine with valid maps.
only a few adjustments are yet to be made.
The adjustments will not affect the output
of the adjacency list.
FYI leaks like a garden pipe.
2019-04-08 15:27:09 +02:00

20 lines
1008 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* lm_initdata.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/23 17:43:34 by tmaze #+# #+# */
/* Updated: 2019/03/23 17:45:09 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
#include "lem_in.h"
void lm_initdata(t_lmdata *data)
{
data->nbants = 0;
data->nodes = NULL;
data->adj = NULL;
}