deps/kb_meme/meme-5.0.1/src/buffer.c
/*
 * buf_is_delim_letter
 * helper function for buf_find_next to allow specification of letters as delimiters.
 * users should specify the function as the is_delim parameter and a null-terminated
 * string of delimiters as the config parameter to the buf_find_next function.
 */
buf_is_delim_letter
helper function for buf_find_next to allow specification of letters as delimiters.
users should specify the function as the is_delim parameter and a null-terminated
string of delimiters as the config parameter to the buf_find_next function.
buf_is_delim_letter helper function for buf_find_next to allow specification of letters as delimiters . users should specify the function as the is_delim parameter and a null - terminated string of delimiters as the config parameter to the buf_find_next function .
int buf_is_delim_letter(void *delims, int letter) {
  char *letters = (char*)delims;
  while (*letters != '\0') {
    if (*letters == letter) return true;
    ++letters;
  }
  return false;
}
int buf_is_delim_letter ( void * delims , int letter ) { char * letters = ( char * ) delims ; while ( * letters != ' \0 ' ) { if ( * letters == letter ) return true ; ++ letters ; } return false ; }
buf_is_delim_letter
 helper function for buf_find_next to allow specification of letters as delimiters.
buf_is_delim_letter helper function for buf_find_next to allow specification of letters as delimiters .