PostGIS  2.5.2dev-r@@SVN_REVISION@@

◆ cmp_int()

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

Integer comparison function for qsort.

Definition at line 330 of file gserialized_estimate.c.

Referenced by range_quintile().

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