ARB
Classes | Functions | Variables
arb_sort.cxx File Reference
#include "arb_sort.h"
#include <cstring>
#include "arb_assert.h"
Include dependency graph for arb_sort.cxx:

Go to the source code of this file.

Classes

struct  comparator
 

Functions

static int qsort_compare (const void *v1, const void *v2)
 
void GB_sort (void **array, size_t first, size_t behind_last, gb_compare_function compare, void *client_data)
 
int GB_string_comparator (const void *v0, const void *v1, void *)
 

Variables

static comparator Compare
 

Function Documentation

static int qsort_compare ( const void *  v1,
const void *  v2 
)
static

Definition at line 23 of file arb_sort.cxx.

References comparator::client_data, and comparator::compare.

Referenced by GB_sort().

void GB_sort ( void **  array,
size_t  first,
size_t  behind_last,
gb_compare_function  compare,
void *  client_data 
)
int GB_string_comparator ( const void *  v0,
const void *  v1,
void *   
)

Definition at line 47 of file arb_sort.cxx.

Referenced by do_extract_words(), GBS_read_dir(), and get_SAI_groups().

Variable Documentation

comparator Compare
static

Definition at line 21 of file arb_sort.cxx.