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 1741 of file gserialized_gist_2d.c.

1742 {
1743  float delta1 = ((const CommonEntry *) i1)->delta,
1744  delta2 = ((const CommonEntry *) i2)->delta;
1745 
1746  if (delta1 < delta2)
1747  return -1;
1748  else if (delta1 > delta2)
1749  return 1;
1750  else
1751  return 0;
1752 }

Referenced by gserialized_gist_picksplit_2d().

Here is the caller graph for this function: