PostGIS  2.1.10dev-r@@SVN_REVISION@@
static int cmp_int ( const void *  a,
const void *  b 
)
static

Integer comparison function for qsort.

Definition at line 252 of file gserialized_estimate.c.

Referenced by range_quintile().

253 {
254  int ia = *((const int*)a);
255  int ib = *((const int*)b);
256 
257  if ( ia == ib )
258  return 0;
259  else if ( ia > ib )
260  return 1;
261  else
262  return -1;
263 }

Here is the caller graph for this function: