PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ cmp_int()

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

Integer comparison function for qsort.

Definition at line 253 of file gserialized_estimate.c.

Referenced by range_quintile().

254 {
255  int ia = *((const int*)a);
256  int ib = *((const int*)b);
257 
258  if ( ia == ib )
259  return 0;
260  else if ( ia > ib )
261  return 1;
262  else
263  return -1;
264 }
Here is the caller graph for this function: