Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sort.c
Go to the documentation of this file.
1 #include <stddef.h>
2 #include <stdlib.h>
3 #include <string.h>
4 #include <limits.h>
5 #include "c99.h"
6 #include "name.h"
7 #include "fail.h"
8 #include "types.h"
9 #include "mem.h"
10 
11 #define T unsigned int
12 #define SORT_SUFFIX _ui
13 #include "sort_imp.h"
14 #undef SORT_SUFFIX
15 #undef T
16 
17 #if defined(USE_LONG) || defined(GLOBAL_LONG)
18 # define T unsigned long
19 # define SORT_SUFFIX _ul
20 # include "sort_imp.h"
21 # undef SORT_SUFFIX
22 # undef T
23 #endif
24 
25 #if defined(USE_LONG_LONG) || defined(GLOBAL_LONG_LONG)
26 # define T unsigned long long
27 # define SORT_SUFFIX _ull
28 # include "sort_imp.h"
29 # undef SORT_SUFFIX
30 # undef T
31 #endif
establishes some macros to establish naming conventions