purge ancien files et mise a jour libftH

This commit is contained in:
Hugo LAMY
2019-11-25 15:46:21 +01:00
parent b6e9b9e5e6
commit 96c7ce814e
182 changed files with 239 additions and 2718 deletions

View File

@@ -6,7 +6,7 @@
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/25 14:11:53 by hulamy #+# #+# */
/* Updated: 2019/11/25 14:11:57 by hulamy ### ########.fr */
/* Updated: 2019/11/25 14:36:12 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
@@ -15,19 +15,19 @@
** or first if list has no element so far
*/
/*
/*
** #include <libc.h>
**
**
** typedef struct s_list
** {
** void *content;
** struct s_list *next;
** } t_list;
**
**
** t_list *ft_lstnew(void *content)
** {
** t_list *lst;
**
**
** if (!(lst = (t_list *)malloc(sizeof(*lst))))
** return (NULL);
** if (!content)
@@ -37,9 +37,9 @@
** lst->next = NULL;
** return (lst);
** }
**
**
** void ft_lstadd_back(t_list **alst, t_list *new);
**
**
** int main(void)
** {
** char tresor;
@@ -47,7 +47,7 @@
** char friends;
** t_list *toto;
** t_list *tmp;
**
**
** tresor = 'a';
** matos = 'b';
** friends = 'c';
@@ -67,7 +67,7 @@
** printf("toto->nxt->nxt->nxt :%s\n",(char*)(toto->next->next->next));
** return (0);
** }
*/
*/
#include "libft.h"
@@ -89,4 +89,3 @@ void ft_lstadd_back(t_list **alst, t_list *new)
new->next = NULL;
}
}