PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ int_cmp()

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

Definition at line 1559 of file ptarray.c.

Referenced by ptarray_simplify_in_place().

1560 {
1561  /* casting pointer types */
1562  const int *ia = (const int *)a;
1563  const int *ib = (const int *)b;
1564  /* returns negative if b > a and positive if a > b */
1565  return *ia - *ib;
1566 }
Here is the caller graph for this function: