[algs] minor

This commit is contained in:
Ebrahim Byagowi 2019-06-09 11:50:36 +04:30 committed by GitHub
parent 9b853f755d
commit c4669fda78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -667,9 +667,9 @@ Parameters:
compar is the comparison function
arg (optional) is a pointer to be passed to the comparison function
void hb_sort(void *base, size_t nel, size_t width,
int (*compar)(const void *_a, const void *_b, [void *_arg]),
[void *arg]);
void hb_qsort(void *base, size_t nel, size_t width,
int (*compar)(const void *_a, const void *_b, [void *_arg]),
[void *arg]);
*/
#define SORT_R_SWAP(a,b,tmp) ((tmp) = (a), (a) = (b), (b) = (tmp))