PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ cmp_int()

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

Integer comparison function for qsort.

Definition at line 287 of file gserialized_estimate.c.

Referenced by range_quintile().

288 {
289  int ia = *((const int*)a);
290  int ib = *((const int*)b);
291 
292  if ( ia == ib )
293  return 0;
294  else if ( ia > ib )
295  return 1;
296  else
297  return -1;
298 }
Here is the caller graph for this function: