From 901402c99018422c994bdb297e3ba404969c88ea Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 30 Mar 2020 22:26:36 +0200 Subject: Added documentation for ht and lst --- src/lst/ft_lstsort.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lst/ft_lstsort.c') diff --git a/src/lst/ft_lstsort.c b/src/lst/ft_lstsort.c index e1c9913..fbd046a 100644 --- a/src/lst/ft_lstsort.c +++ b/src/lst/ft_lstsort.c @@ -12,6 +12,12 @@ #include "libft_lst.h" +/** +** \brief Sort list +** \param cmp Comparison function, <0 if less, 0 if equal, >0 if greater +** \note Use merge sort algorithm +*/ + void ft_lstsort(t_ftlst **begin_list, t_ftcompar_func cmp) { t_ftlst *fast; -- cgit From 9316f2063255bd4a0abd5c38d4c065969a8980bb Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 1 Apr 2020 18:10:36 +0200 Subject: Norm compliant comment format, dirty script for doxygen comments --- src/lst/ft_lstsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lst/ft_lstsort.c') diff --git a/src/lst/ft_lstsort.c b/src/lst/ft_lstsort.c index fbd046a..9945a0f 100644 --- a/src/lst/ft_lstsort.c +++ b/src/lst/ft_lstsort.c @@ -12,7 +12,7 @@ #include "libft_lst.h" -/** +/* ** \brief Sort list ** \param cmp Comparison function, <0 if less, 0 if equal, >0 if greater ** \note Use merge sort algorithm -- cgit