push
This commit is contained in:
26
libft/printf/ft_init_param.c
Normal file
26
libft/printf/ft_init_param.c
Normal file
@@ -0,0 +1,26 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* 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;
|
||||
}
|
Reference in New Issue
Block a user