diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-06-09 17:57:10 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-06-09 17:57:10 +0200 |
| commit | 6fe30c97aad7a4a3564e7037d64a43edcb9a2162 (patch) | |
| tree | 5d36f19eb619811c93b852c5f5e04eb6fe12e85c /include/libft_dstr.h | |
| parent | f1babc364b2507cb8999d3132941b056feac37cd (diff) | |
| download | libft-6fe30c97aad7a4a3564e7037d64a43edcb9a2162.tar.gz libft-6fe30c97aad7a4a3564e7037d64a43edcb9a2162.tar.bz2 libft-6fe30c97aad7a4a3564e7037d64a43edcb9a2162.zip | |
Added ft_dstrwrap, ft_splitf, fixing bug in ft_split
Diffstat (limited to 'include/libft_dstr.h')
| -rw-r--r-- | include/libft_dstr.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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); |
