PostGIS  3.6.1dev-r@@SVN_REVISION@@

◆ cmp_int()

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

Integer comparison function for qsort.

Definition at line 332 of file gserialized_estimate.c.

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

Referenced by range_full().

Here is the caller graph for this function: