|
|
static inline void QSortT(T *base, uint num, int (CDECL *comparator)(const T*, const T*), bool desc = false)
|
|
|
static inline void QSortT(T *base, size_t num, int (CDECL *comparator)(const T*, const T*), bool desc = false)
|
|
|
qsort(base, num, sizeof(T), (int (CDECL *)(const void *, const void *))comparator);
|
|
@@ -46,13 +46,13 @@ static inline void QSortT(T *base, uint
|
|
|
static inline void GSortT(T *base, uint num, int (CDECL *comparator)(const T*, const T*), bool desc = false)
|
|
|
static inline void GSortT(T *base, size_t num, int (CDECL *comparator)(const T*, const T*), bool desc = false)
|