deps/kb_meme/meme-5.0.1/src/array-list.c
/*
 * arraylst_compar_txt
 * Can be passed to arraylst_qsort or arraylst_bsearch as a comparator when
 * the items in the array and key are char*.
 */
arraylst_compar_txt
Can be passed to arraylst_qsort or arraylst_bsearch as a comparator when
the items in the array and key are char*.
arraylst_compar_txt Can be passed to arraylst_qsort or arraylst_bsearch as a comparator when the items in the array and key are char * .
int arraylst_compar_txt(const void *v1, const void *v2) {
  char* s1 = *((char**)v1);
  char* s2 = *((char**)v2);
  return strcmp(s1, s2);
}
int arraylst_compar_txt ( const void * v1 , const void * v2 ) { char * s1 = * ( ( char * * ) v1 ) ; char * s2 = * ( ( char * * ) v2 ) ; return strcmp ( s1 , s2 ) ; }
arraylst_compar_txt
 Can be passed to arraylst_qsort or arraylst_bsearch as a comparator when
 the items in the array and key are char*.
arraylst_compar_txt Can be passed to arraylst_qsort or arraylst_bsearch as a comparator when the items in the array and key are char * .