Templates for the qsort routine.
More...
Go to the source code of this file.
Defines |
#define | _GKQSORT_SWAP(a, b, t) ((void)((t = *a), (*a = *b), (*b = t))) |
#define | _GKQSORT_MAX_THRESH 4 |
#define | _GKQSORT_STACK_SIZE (8 * sizeof(size_t)) |
#define | _GKQSORT_PUSH(top, low, high) (((top->_lo = (low)), (top->_hi = (high)), ++top)) |
#define | _GKQSORT_POP(low, high, top) ((--top, (low = top->_lo), (high = top->_hi))) |
#define | _GKQSORT_STACK_NOT_EMPTY (_stack < _top) |
#define | GK_MKQSORT(GKQSORT_TYPE, GKQSORT_BASE, GKQSORT_NELT, GKQSORT_LT) |
Detailed Description
Templates for the qsort routine.
- Date:
- Started 3/28/07
- Author:
- George
- Version:
$Id: gk_mksort.h 8112 2010-03-20 05:43:20Z karypis $