blob: 4134f335959b21748ac176bfdc95c55e1bcc529d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "internal.h"
void
sortยทuint64(uint64 arr[], uintptr sz)
{
uint64 tmp;
#define LESS(i, j) (arr[i] < arr[j])
#define SWAP(i, j) (tmp = arr[i], arr[i] = arr[j], arr[j] = tmp)
QSORT(sz, LESS, SWAP);
#undef SWAP
#undef LESS
}
|