PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ cmp_int()

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

Definition at line 179 of file lwunionfind.c.

Referenced by cmp_int_ptr().

180 {
181  if (*((uint32_t*) a) > *((uint32_t*) b))
182  {
183  return 1;
184  }
185  else if (*((uint32_t*) a) < *((uint32_t*) b))
186  {
187  return -1;
188  }
189  else
190  {
191  return 0;
192  }
193 }
unsigned int uint32_t
Definition: uthash.h:78
Here is the caller graph for this function: