blob: 9f4dda2ab1508a0364007f9ea3e0bd52d741a38e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* blogc: A blog compiler.
* Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
*
* This program can be distributed under the terms of the BSD License.
* See the file LICENSE.
*/
#ifndef _SORT_H
#define _SORT_H
#include "utils.h"
typedef int (*bc_sort_func_t) (const void *a, const void *b);
bc_slist_t* bc_slist_sort(bc_slist_t *l, bc_sort_func_t cmp);
#endif /* _SORT_H */
|