aboutsummaryrefslogtreecommitdiff
path: root/include/libft_lst.h
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-08-20 14:25:24 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-08-20 14:25:24 +0200
commitffaebd5ffe714799254d6c520c4ad19a0157e672 (patch)
treed00da55c9ec8e0140b41586fcabb1bad7ab07c19 /include/libft_lst.h
parentb878aa62024fdff08a9a76d80ddbeb1ee19d9179 (diff)
downloadlibft-ffaebd5ffe714799254d6c520c4ad19a0157e672.tar.gz
libft-ffaebd5ffe714799254d6c520c4ad19a0157e672.tar.bz2
libft-ffaebd5ffe714799254d6c520c4ad19a0157e672.zip
Added ft_lstpop_back
Diffstat (limited to 'include/libft_lst.h')
-rw-r--r--include/libft_lst.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libft_lst.h b/include/libft_lst.h
index 1d02b4e..09e7fb4 100644
--- a/include/libft_lst.h
+++ b/include/libft_lst.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/31 10:36:39 by cacharle #+# #+# */
-/* Updated: 2020/07/13 13:11:55 by charles ### ########.fr */
+/* Updated: 2020/08/20 13:10:57 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -41,6 +41,7 @@ int ft_lstsize(t_ftlst *lst);
void ft_lstpush_front(t_ftlst **alst, t_ftlst *new);
void ft_lstpush_back(t_ftlst **alst, t_ftlst *new);
void ft_lstpop_front(t_ftlst **lst, void (*del)(void *));
+void ft_lstpop_back(t_ftlst **lst, void (*del)(void *));
t_ftlst *ft_lstlast(t_ftlst *lst);
void ft_lstdelone(t_ftlst *lst, void (*del)(void *));
void ft_lstdestroy(t_ftlst **lst, void (*del)(void *));