/
debug.c
25 lines (23 loc) · 1.22 KB
/
debug.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* debug.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mburson <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/01/09 21:48:36 by mburson #+# #+# */
/* Updated: 2017/01/09 21:48:38 by mburson ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdio.h>
#include <ft_printf.h>
void print_conv(t_conv *conv)
{
printf("---\n");
printf(" letter: %c\n", conv->letter);
printf(" flags: %X\n", conv->flags);
printf(" length: %d\n", conv->length);
printf(" min_width: %zu\n", conv->min_width);
printf(" precision: %zu\n", conv->precision);
printf("---\n");
}