diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-04-05 01:11:50 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-04-05 01:11:50 +0200 |
| commit | 944a236443bacf531085b346d06907b24e3739b1 (patch) | |
| tree | e49773563c77844944be5b7a75437b9f404d595a /include/libft_dstr.h | |
| parent | 65cf641e9533b190db870d0cc46f2f852239ebf6 (diff) | |
| download | libft-944a236443bacf531085b346d06907b24e3739b1.tar.gz libft-944a236443bacf531085b346d06907b24e3739b1.tar.bz2 libft-944a236443bacf531085b346d06907b24e3739b1.zip | |
Added ft_dstrerase, ft_dstrsubstitute
Diffstat (limited to 'include/libft_dstr.h')
| -rw-r--r-- | include/libft_dstr.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libft_dstr.h b/include/libft_dstr.h index fbe69db..732e475 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/04 23:33:27 by charles ### ########.fr */ +/* Updated: 2020/04/05 00:37:05 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -37,7 +37,8 @@ void ft_dstrdestroy(t_ftdstr *dstr); t_ftdstr *ft_dstrgrow(t_ftdstr *dstr, size_t at_least); char *ft_dstrunwrap(t_ftdstr *dstr); t_ftdstr *ft_dstrinsert(t_ftdstr *dstr, char *inserted, size_t i); -t_ftdstr *ft_dstrsubstitute(t_ftdstr *dstr, char *sub, +void ft_dstrerase(t_ftdstr *dstr, size_t start, size_t len); +t_ftdstr *ft_dstrsubstitute(t_ftdstr *dstr, char *replacement, size_t start, size_t end); #endif |
