GNU PROLOG with UTF8 support
Macros | Functions | Variables
sort_c.c File Reference
#include "engine_pl.h"
#include "bips_pl.h"
Include dependency graph for sort_c.c:

Macros

#define OBJ_INIT   Sort_Initializer
 

Functions

static PlLong Keysort_Cmp (WamWord u_word, WamWord v_word)
 
static int Merge_Sort (WamWord *base, WamWord *aux, int n, Bool keep_dup, PlLong(*cmp)())
 
static void Sort_Initializer (void)
 
static void Chk_Pair (WamWord start_word)
 
static WamWord Get_Pair (WamWord start_word)
 
Bool Pl_Sort_List_2 (WamWord list1_word, WamWord list2_word)
 
void Pl_Sort_List_1 (WamWord list_word)
 

Variables

static WamWord minus_2
 

Macro Definition Documentation

#define OBJ_INIT   Sort_Initializer

Function Documentation

static void Chk_Pair ( WamWord  start_word)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static WamWord Get_Pair ( WamWord  start_word)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static PlLong Keysort_Cmp ( WamWord  u_word,
WamWord  v_word 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static int Merge_Sort ( WamWord base,
WamWord aux,
int  n,
Bool  keep_dup,
PlLong(*)()  cmp 
)
static

Here is the caller graph for this function:

void Pl_Sort_List_1 ( WamWord  list_word)

Here is the call graph for this function:

Bool Pl_Sort_List_2 ( WamWord  list1_word,
WamWord  list2_word 
)

Here is the call graph for this function:

static void Sort_Initializer ( void  )
static

Variable Documentation

WamWord minus_2
static