aboutsummaryrefslogtreecommitdiff
path: root/include/libft_algo.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-04-04 15:58:24 +0200
committerCharles <sircharlesaze@gmail.com>2020-04-04 15:58:24 +0200
commit51b845a6a202b50966f50e166cfb11bcbdccbe33 (patch)
tree35658c668ab4aa9214f311b209996c52fc8030e0 /include/libft_algo.h
parent636c3ff6b600c291a40877ac52d8b0a1a58b9b79 (diff)
downloadlibft-51b845a6a202b50966f50e166cfb11bcbdccbe33.tar.gz
libft-51b845a6a202b50966f50e166cfb11bcbdccbe33.tar.bz2
libft-51b845a6a202b50966f50e166cfb11bcbdccbe33.zip
Added ft_strsjoin, ft_strsjoinf, ft_compar_str, ft_vecsort, ft_vecpush_safe
Diffstat (limited to 'include/libft_algo.h')
-rw-r--r--include/libft_algo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libft_algo.h b/include/libft_algo.h
index 04191e6..e726d1f 100644
--- a/include/libft_algo.h
+++ b/include/libft_algo.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/19 07:22:57 by cacharle #+# #+# */
-/* Updated: 2020/04/03 07:05:04 by charles ### ########.fr */
+/* Updated: 2020/04/04 15:46:10 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -16,6 +16,7 @@
# include <stdlib.h>
# include "libft_mem.h"
# include "libft_def.h"
+# include "libft_str.h"
typedef struct
{
@@ -39,6 +40,7 @@ typedef struct s_ft_search_const
bool ft_is_set(void *base, size_t nel, size_t width,
t_ftcompar_func compar);
int ft_compar_int(const void *a, const void *b);
+int ft_compar_str(const void *s1_p, const void *s2_p);
void ft_qsort(void *base, size_t nel, size_t width,
t_ftcompar_func compar);
int ft_mergesort(void *base, size_t nel, size_t width,