1 |
/* qsortG - drop in replacement for qsort */ |
/* qsortG - drop in replacement for qsort */ |
2 |
/* Useful for consistency across platforms as quicksort isn't guaranteed to be stable (and isn't on Win32) */ |
/* Useful for consistency across platforms as quicksort isn't guaranteed to be stable (and isn't on Win32) */ |
3 |
|
|
4 |
|
#if !defined qsortG_H |
5 |
|
#define qsortG_H |
6 |
|
|
7 |
extern void qsortG(void *base, size_t nmemb, size_t size, |
extern void qsortG(void *base, size_t nmemb, size_t size, |
8 |
int (*compare)(const void *, const void *)); |
int (*compare)(const void *, const void *)); |
9 |
|
|
10 |
|
#endif |