PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ common_entry_cmp()

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

Definition at line 1573 of file gserialized_gist_2d.c.

1574 {
1575  float delta1 = ((const CommonEntry *) i1)->delta,
1576  delta2 = ((const CommonEntry *) i2)->delta;
1577 
1578  if (delta1 < delta2)
1579  return -1;
1580  else if (delta1 > delta2)
1581  return 1;
1582  else
1583  return 0;
1584 }

Referenced by gserialized_gist_picksplit_2d().

Here is the caller graph for this function: