PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ common_entry_cmp()

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

Definition at line 1822 of file gserialized_gist_2d.c.

1823 {
1824  float delta1 = ((const CommonEntry *) i1)->delta,
1825  delta2 = ((const CommonEntry *) i2)->delta;
1826 
1827  if (delta1 < delta2)
1828  return -1;
1829  else if (delta1 > delta2)
1830  return 1;
1831  else
1832  return 0;
1833 }

Referenced by gserialized_gist_picksplit_2d().

Here is the caller graph for this function: