From 6fe30c97aad7a4a3564e7037d64a43edcb9a2162 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 9 Jun 2020 17:57:10 +0200 Subject: Added ft_dstrwrap, ft_splitf, fixing bug in ft_split --- include/libft_dstr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/libft_dstr.h') diff --git a/include/libft_dstr.h b/include/libft_dstr.h index 732e475..d482f73 100644 --- a/include/libft_dstr.h +++ b/include/libft_dstr.h @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/03 10:39:51 by charles #+# #+# */ -/* Updated: 2020/04/05 00:37:05 by charles ### ########.fr */ +/* Updated: 2020/06/09 17:35:47 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -35,6 +35,7 @@ typedef struct s_ftdstr t_ftdstr *ft_dstrnew(char *from); void ft_dstrdestroy(t_ftdstr *dstr); t_ftdstr *ft_dstrgrow(t_ftdstr *dstr, size_t at_least); +t_ftdstr *ft_dstrwrap(char *str); char *ft_dstrunwrap(t_ftdstr *dstr); t_ftdstr *ft_dstrinsert(t_ftdstr *dstr, char *inserted, size_t i); void ft_dstrerase(t_ftdstr *dstr, size_t start, size_t len); -- cgit