PostGIS  3.1.6dev-r@@SVN_REVISION@@

◆ common_entry_cmp()

static int common_entry_cmp ( const void *  i1,
const void *  i2 
)
static

Definition at line 1620 of file gserialized_gist_2d.c.

1621 {
1622  float delta1 = ((const CommonEntry *) i1)->delta,
1623  delta2 = ((const CommonEntry *) i2)->delta;
1624 
1625  if (delta1 < delta2)
1626  return -1;
1627  else if (delta1 > delta2)
1628  return 1;
1629  else
1630  return 0;
1631 }

Referenced by gserialized_gist_picksplit_2d().

Here is the caller graph for this function: