
Go to the source code of this file.
Defines | |
| #define | ON_QSORT_CUTOFF 8 /* testing shows that this is good value */ |
| #define | ON_QSORT_EQ(A, B) *A == *B |
| #define | ON_QSORT_GT(A, B) *A > *B |
| #define | ON_QSORT_LE(A, B) *A <= *B |
| #define | ON_QSORT_STKSIZ (8*sizeof(void*) - 2) |
| #define | ON_QSORT_SWAP(A, B) tmp = *A; *A = *B; *B = tmp |
Functions | |
| void | ON_QSORT_FNAME (ON_SORT_TEMPLATE_TYPE *base, size_t num) |
| static void | ON_shortsort (ON_SORT_TEMPLATE_TYPE *, ON_SORT_TEMPLATE_TYPE *) |
| #define ON_QSORT_CUTOFF 8 /* testing shows that this is good value */ |
Definition at line 14 of file opennurbs_qsort_template.h.
| #define ON_QSORT_EQ | ( | A, | |
| B | |||
| ) | *A == *B |
Definition at line 43 of file opennurbs_qsort_template.h.
| #define ON_QSORT_GT | ( | A, | |
| B | |||
| ) | *A > *B |
Definition at line 41 of file opennurbs_qsort_template.h.
| #define ON_QSORT_LE | ( | A, | |
| B | |||
| ) | *A <= *B |
Definition at line 42 of file opennurbs_qsort_template.h.
| #define ON_QSORT_STKSIZ (8*sizeof(void*) - 2) |
Definition at line 22 of file opennurbs_qsort_template.h.
| #define ON_QSORT_SWAP | ( | A, | |
| B | |||
| ) | tmp = *A; *A = *B; *B = tmp |
Definition at line 49 of file opennurbs_qsort_template.h.
| void ON_QSORT_FNAME | ( | ON_SORT_TEMPLATE_TYPE * | base, |
| size_t | num | ||
| ) |
Definition at line 98 of file opennurbs_qsort_template.h.
| static void ON_shortsort | ( | ON_SORT_TEMPLATE_TYPE * | lo, |
| ON_SORT_TEMPLATE_TYPE * | hi | ||
| ) | [static] |
Definition at line 53 of file opennurbs_qsort_template.h.