hmmer-3.3/src/hmmdmstr.c
// Qsort comparison function to sort a list of pointers to P7_HITs
Qsort comparison function to sort a list of pointers to P7_HITs
Qsort comparison function to sort a list of pointers to P7_HITs
static int
hit_sorter2(const void *p1, const void *p2)
{
  int cmp;
  const P7_HIT *h1 = *((P7_HIT **) p1);
  const P7_HIT *h2 = *((P7_HIT **) p2);
  cmp  = (h1->sortkey < h2->sortkey);
  cmp -= (h1->sortkey > h2->sortkey);
  return cmp;
}
static int hit_sorter2 ( const void * p1 , const void * p2 ) { int cmp ; const P7_HIT * h1 = * ( ( P7_HIT * * ) p1 ) ; const P7_HIT * h2 = * ( ( P7_HIT * * ) p2 ) ; cmp = ( h1 -> sortkey < h2 -> sortkey ) ; cmp -= ( h1 -> sortkey > h2 -> sortkey ) ; return cmp ; }
Qsort comparison function to sort a list of pointers to P7_HITs
Qsort comparison function to sort a list of pointers to P7_HITs