PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ cmp_int()

static int cmp_int ( const void *  a,
const void *  b 
)
static

Integer comparison function for qsort.

Definition at line 326 of file gserialized_estimate.c.

327 {
328  int ia = *((const int*)a);
329  int ib = *((const int*)b);
330 
331  if ( ia == ib )
332  return 0;
333  else if ( ia > ib )
334  return 1;
335  else
336  return -1;
337 }

Referenced by range_quintile().

Here is the caller graph for this function: