PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
qsort_arg.c
Go to the documentation of this file.
1 /*
2  * qsort_arg.c: qsort with a passthrough "void *" argument
3  */
4 
5 #include "c.h"
6 
7 #define ST_SORT qsort_arg
8 #define ST_ELEMENT_TYPE_VOID
9 #define ST_COMPARATOR_TYPE_NAME qsort_arg_comparator
10 #define ST_COMPARE_RUNTIME_POINTER
11 #define ST_COMPARE_ARG_TYPE void
12 #define ST_SCOPE
13 #define ST_DEFINE
14 #include "lib/sort_template.h"