clean libft
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: pblagoje <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/05/04 13:34:54 by pblagoje #+# #+# */
|
||||
/* Updated: 2022/05/04 13:35:31 by pblagoje ### ########.fr */
|
||||
/* Updated: 2022/05/04 15:57:22 by hulamy ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -28,5 +28,6 @@
|
||||
# include "cube3d_macro.h"
|
||||
# include "cube3d_struct.h"
|
||||
# include "cube3d_proto.h"
|
||||
# include "get_next_line.h"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/* By: pblagoje <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/05/04 13:36:55 by pblagoje #+# #+# */
|
||||
/* Updated: 2022/05/04 13:38:53 by pblagoje ### ########.fr */
|
||||
/* Updated: 2022/05/04 16:00:38 by hulamy ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -30,12 +30,6 @@ void init_game(t_game *game);
|
||||
// init_textures.c
|
||||
void init_txtr(t_txt *txt, void *mlx_ptr);
|
||||
|
||||
// -------------------------------
|
||||
// SRC/GNL
|
||||
// -------------------------------
|
||||
// get_next_line.c
|
||||
int get_next_line(int fd, char **line);
|
||||
|
||||
// -------------------------------
|
||||
// SRC/PARSING
|
||||
// -------------------------------
|
||||
|
||||
30
headers/get_next_line.h
Normal file
30
headers/get_next_line.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* get_next_line.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: pblagoje <pblagoje@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/01/27 12:43:50 by pblagoje #+# #+# */
|
||||
/* Updated: 2022/04/18 17:01:22 by pblagoje ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef GET_NEXT_LINE_H
|
||||
# define GET_NEXT_LINE_H
|
||||
# define BUFFER_SIZE 100
|
||||
|
||||
# include <unistd.h>
|
||||
# include <stdlib.h>
|
||||
# include <stdio.h>
|
||||
|
||||
int get_next_line(int fd, char **line);
|
||||
int ft_strlen_gnl(char *s);
|
||||
char *ft_strchr_gnl(char *s, int c);
|
||||
char *ft_strjoin_gnl(char *s1, char *s2);
|
||||
char *ft_strtrim_gnl(char *s);
|
||||
int ft_is_newline(char *s, int c);
|
||||
char *ft_strcpy(char *s1, char *s2);
|
||||
void ft_free_gnl(char **s);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user