Skip to content

Commit

Permalink
libft-ext
Browse files Browse the repository at this point in the history
  • Loading branch information
Tat Hoang Nguyen committed Jan 8, 2025
1 parent 64ed2db commit 75be42b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 59 deletions.
52 changes: 1 addition & 51 deletions libft_ext/libft/includes/libft.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: tat-nguy <tat-nguy@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/06 16:09:12 by tat-nguy #+# #+# */
/* Updated: 2025/01/08 21:48:10 by tat-nguy ### ########.fr */
/* Updated: 2025/01/08 21:56:40 by tat-nguy ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -146,53 +146,3 @@ int ft_toupper(int c);
*/

#endif

/* 9
ft_lstadd_back.c
ft_lstadd_front.c
ft_lstclear.c
ft_lstdelone.c
ft_lstiter.c
ft_lstlast.c
ft_lstmap.c
ft_lstnew.c
ft_lstsize.c
*/
/* 11
ft_itoa.c
ft_putchar_fd.c
ft_putendl_fd.c
ft_putnbr_fd.c
ft_putstr_fd.c
ft_split.c
ft_striteri.c
ft_strjoin.c
ft_strmapi.c
ft_strtrim.c
ft_substr.c
*/
/* 23
ft_atoi.c
ft_bzero.c
ft_calloc.c
ft_isalnum.c
ft_isalpha.c
ft_isascii.c
ft_isdigit.c
ft_isprint.c
ft_memchr.c
ft_memcmp.c
ft_memcpy.c
ft_memmove.c
ft_memset.c
ft_strchr.c
ft_strdup.c
ft_strlcat.c
ft_strlcpy.c
ft_strlen.c
ft_strncmp.c
ft_strnstr.c
ft_strrchr.c
ft_tolower.c
ft_toupper.c
*/
16 changes: 8 additions & 8 deletions libft_ext/libft/srcs/str/ft_split_free.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: tat-nguy <tat-nguy@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/08 21:31:41 by tat-nguy #+# #+# */
/* Updated: 2025/01/08 21:34:40 by tat-nguy ### ########.fr */
/* Updated: 2025/01/08 21:55:12 by tat-nguy ### ########.fr */
/* */
/* ************************************************************************** */

Expand All @@ -23,12 +23,12 @@
void ft_split_free(char **arrs)
{
size_t i;

i = 0;
while (arrs[i] != NULL)
{
free(arrs[i]);
i++;
}
free(arrs);
}
{
free(arrs[i]);
i++;
}
free(arrs);
}

0 comments on commit 75be42b

Please sign in to comment.