PostGIS  2.3.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 277 of file gserialized_estimate.c.

Referenced by range_quintile().

278 {
279  int ia = *((const int*)a);
280  int ib = *((const int*)b);
281 
282  if ( ia == ib )
283  return 0;
284  else if ( ia > ib )
285  return 1;
286  else
287  return -1;
288 }
Here is the caller graph for this function: