PostGIS  3.0.0dev-r@@SVN_REVISION@@

◆ cmp_int()

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

Integer comparison function for qsort.

Definition at line 329 of file gserialized_estimate.c.

Referenced by range_quintile().

330 {
331  int ia = *((const int*)a);
332  int ib = *((const int*)b);
333 
334  if ( ia == ib )
335  return 0;
336  else if ( ia > ib )
337  return 1;
338  else
339  return -1;
340 }
Here is the caller graph for this function: