PostGIS  2.5.0beta1dev-r@@SVN_REVISION@@

◆ cmp_int()

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

Integer comparison function for qsort.

Definition at line 324 of file gserialized_estimate.c.

Referenced by range_quintile().

325 {
326  int ia = *((const int*)a);
327  int ib = *((const int*)b);
328 
329  if ( ia == ib )
330  return 0;
331  else if ( ia > ib )
332  return 1;
333  else
334  return -1;
335 }
Here is the caller graph for this function: