SU2
Macros
gk_mksort.h File Reference

Templates for the qsort routine. More...

Go to the source code of this file.

Macros

#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 10711 2011-08-31 22:23:04Z karypis $