PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ int_cmp()

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

Definition at line 1566 of file ptarray.c.

1567 {
1568  /* casting pointer types */
1569  const int *ia = (const int *)a;
1570  const int *ib = (const int *)b;
1571  /* returns negative if b > a and positive if a > b */
1572  return *ia - *ib;
1573 }

Referenced by ptarray_simplify_in_place().

Here is the caller graph for this function: