27 lines
1.0 KiB
C
27 lines
1.0 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_init_param.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: igarbuz <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2019/01/24 13:05:18 by igarbuz #+# #+# */
|
|
/* Updated: 2019/01/24 13:05:20 by igarbuz ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "ft_printf.h"
|
|
|
|
void ft_init_param(t_param *prm)
|
|
{
|
|
prm->p = 0;
|
|
prm->prc = -1;
|
|
prm->wdt = -1;
|
|
}
|
|
|
|
void ft_init_nd(t_nd *nd)
|
|
{
|
|
nd->hi = 0;
|
|
nd->lo = 0;
|
|
}
|