PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ common_entry_cmp()

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

Definition at line 1720 of file gserialized_gist_2d.c.

1721 {
1722  float delta1 = ((const CommonEntry *) i1)->delta,
1723  delta2 = ((const CommonEntry *) i2)->delta;
1724 
1725  if (delta1 < delta2)
1726  return -1;
1727  else if (delta1 > delta2)
1728  return 1;
1729  else
1730  return 0;
1731 }

Referenced by gserialized_gist_picksplit_2d().

Here is the caller graph for this function: