some norminettes and error in memorybook when adding a 2d pointer

This commit is contained in:
Hugo LAMY
2022-05-04 18:54:21 +02:00
parent 6000629c17
commit d4e5f298fa
12 changed files with 85 additions and 60 deletions

View File

@@ -6,7 +6,7 @@
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/25 14:45:53 by hulamy #+# #+# */
/* Updated: 2022/05/04 16:04:03 by hulamy ### ########.fr */
/* Updated: 2022/05/04 18:18:01 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
@@ -28,7 +28,7 @@ void ft_putchar_fd(char c, int fd);
void ft_putstr_fd(char *s, int fd);
void ft_putnbr_fd(int n, int fd);
typedef struct s_list
typedef struct s_list
{
void *content;
struct s_list *prev;
@@ -37,14 +37,14 @@ typedef struct s_list
t_list *ft_lstcreate(void *content);
void *ft_lstpush_back(t_list **lst, t_list *new);
t_list *ft_lstfind(t_list *lst, void *to_find, int (*comp)(void*, void *));
t_list *ft_lstfind(t_list *lst, void *to_find,
int (*comp)(void*, void *));
void ft_lsterase(t_list *lst, void (*del)(void *));
void ft_lstfree(t_list *lst, void (*del)(void *));
int ft_strcmp(const char *s1, const char *s2);
void *ft_memalloc(size_t size);
int ft_abs(int n);
int ft_sign(int i);
int ft_arrint(int * intarr, int comp, size_t size);
int ft_arrint(int *intarr, int comp, size_t size);
#endif