tablecompare.c File Reference

#include "frontier.h"
#include "standard.h"
#include "strings.h"
#include "langexternal.h"
#include "tableinternal.h"
#include "tableverbs.h"

Include dependency graph for tablecompare.c:

Go to the source code of this file.

Functions

static short tablecomparenames (hdlhashnode hnode1, hdlhashnode hnode2)
static short tablecomparekinds (hdlhashnode hnode1, hdlhashnode hnode2)
static short tablecomparevalues (hdlhashtable htable, hdlhashnode hnode1, hdlhashnode hnode2)
short tablecomparenodes (hdlhashtable htable, hdlhashnode hnode1, hdlhashnode hnode2)
static short tableoverridecomparenodes (hdlhashtable htable, hdlhashnode hnode1, hdlhashnode hnode2)
void tableoverridesort (hdlhashnode hnext)
void tablerestoresort (void)

Variables

static hdlhashnode nextnodecompare
static langcomparenodescallback origcomparenodescallback


Function Documentation

static short tablecomparekinds hdlhashnode  hnode1,
hdlhashnode  hnode2
[static]
 

Definition at line 68 of file tablecompare.c.

References tyvaluerecord::data, tyvaluedata::externalvalue, externalvaluetype, langexternalcomparetypes(), sgn, tablecomparenames(), and tyvaluerecord::valuetype.

Referenced by tablecomparenodes(), and tablecomparevalues().

Here is the call graph for this function:

static short tablecomparenames hdlhashnode  hnode1,
hdlhashnode  hnode2
[static]
 

Definition at line 39 of file tablecompare.c.

References compareidentifiers().

Here is the call graph for this function:

short tablecomparenodes hdlhashtable  htable,
hdlhashnode  hnode1,
hdlhashnode  hnode2
 

Definition at line 169 of file tablecompare.c.

References sortbykind, sortbyname, sortbyvalue, tablecomparekinds(), tablecomparenames(), and tablecomparevalues().

Referenced by cccomparenodes().

Here is the call graph for this function:

static short tablecomparevalues hdlhashtable  htable,
hdlhashnode  hnode1,
hdlhashnode  hnode2
[static]
 

Definition at line 107 of file tablecompare.c.

References cleartmpstack(), copyvaluerecord(), tyvaluerecord::data, disablelangerror(), enablelangerror(), EQvalue(), tyvaluedata::flvalue, LTvalue(), pophashtable(), pushhashtable(), tablecomparekinds(), tyhashnode::val, and tyvaluerecord::valuetype.

Referenced by tablecomparenodes().

Here is the call graph for this function:

static short tableoverridecomparenodes hdlhashtable  htable,
hdlhashnode  hnode1,
hdlhashnode  hnode2
[static]
 

Definition at line 208 of file tablecompare.c.

References nextnodecompare.

Referenced by tableoverridesort().

void tableoverridesort hdlhashnode  hnext  ) 
 

Definition at line 218 of file tablecompare.c.

References tylangcallbacks::comparenodescallback, langcallbacks, nextnodecompare, origcomparenodescallback, and tableoverridecomparenodes().

Referenced by tablemakenewvalue(), and tableundoclear().

Here is the call graph for this function:

void tablerestoresort void   ) 
 

Definition at line 233 of file tablecompare.c.

References tylangcallbacks::comparenodescallback, langcallbacks, and origcomparenodescallback.

Referenced by tablemakenewvalue(), and tableundoclear().


Variable Documentation

hdlhashnode nextnodecompare [static]
 

Definition at line 204 of file tablecompare.c.

Referenced by tableoverridecomparenodes(), and tableoverridesort().

langcomparenodescallback origcomparenodescallback [static]
 

Definition at line 205 of file tablecompare.c.

Referenced by tableoverridesort(), and tablerestoresort().


Generated on Tue Jun 13 15:56:19 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6