-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmap_output_utils.c
More file actions
27 lines (23 loc) · 1.11 KB
/
map_output_utils.c
File metadata and controls
27 lines (23 loc) · 1.11 KB
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
26
27
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* map_output_utils.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbeaufre <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/28 19:00:25 by rbeaufre #+# #+# */
/* Updated: 2019/11/28 19:32:30 by rbeaufre ### ########.fr */
/* */
/* ************************************************************************** */
#include "lem_in.h"
void ft_add_return_line(t_params **params)
{
char *str;
str = (*params)->map;
(*params)->map = ft_strjoin(str, "\n");
ft_strdel(&str);
}
void ft_print_map(t_params **params)
{
ft_printf("%s\n", (*params)->map);
}