PostGIS  3.4.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 335 of file gserialized_estimate.c.

336 {
337  int ia = *((const int*)a);
338  int ib = *((const int*)b);
339 
340  if ( ia == ib )
341  return 0;
342  else if ( ia > ib )
343  return 1;
344  else
345  return -1;
346 }

Referenced by range_full().

Here is the caller graph for this function: