PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ cmp_int_ptr()

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

Definition at line 196 of file lwunionfind.c.

References cmp_int().

Referenced by UF_ordered_by_cluster().

197 {
198  int val_cmp = cmp_int(*((uint32_t**) a), *((uint32_t**) b));
199  if (val_cmp != 0)
200  {
201  return val_cmp;
202  }
203  if (a > b)
204  {
205  return 1;
206  }
207  if (a < b)
208  {
209  return -1;
210  }
211  return 0;
212 }
static int cmp_int(const void *a, const void *b)
Definition: lwunionfind.c:179
unsigned int uint32_t
Definition: uthash.h:78
Here is the call graph for this function:
Here is the caller graph for this function: