Line | |
---|
1 | // ============================================================ // |
---|
2 | // // |
---|
3 | // File : arb_sort.h // |
---|
4 | // Purpose : // |
---|
5 | // // |
---|
6 | // Coded by Ralf Westram (coder@reallysoft.de) in July 2011 // |
---|
7 | // Institute of Microbiology (Technical University Munich) // |
---|
8 | // http://www.arb-home.de/ // |
---|
9 | // // |
---|
10 | // ============================================================ // |
---|
11 | |
---|
12 | #ifndef ARB_SORT_H |
---|
13 | #define ARB_SORT_H |
---|
14 | |
---|
15 | #ifndef _GLIBCXX_CSTDLIB |
---|
16 | #include <cstdlib> |
---|
17 | #endif |
---|
18 | |
---|
19 | typedef int (*gb_compare_function)(const void *p1, const void *p2, void *client_data); |
---|
20 | |
---|
21 | void GB_sort(void **array, size_t first, size_t behind_last, gb_compare_function compare, void *client_data); |
---|
22 | int GB_string_comparator(const void *v1, const void *v2, void */*unused*/); |
---|
23 | |
---|
24 | #else |
---|
25 | #error arb_sort.h included twice |
---|
26 | #endif // ARB_SORT_H |
---|
Note: See
TracBrowser
for help on using the repository browser.