deps/kb_meme/meme-5.0.1/src/alph-in.c
/*
 * add_encoding
 * Adds a letter and the alternates to an encoding array. 
 * See add_encoding for more details.
 */
add_encoding
Adds a letter and the alternates to an encoding array.
See add_encoding for more details.
add_encoding Adds a letter and the alternates to an encoding array . See add_encoding for more details .
static inline void add_encodings(uint8_t* encode, bool both_case, char symbol, char *alts, uint8_t index) {
  int i;
  add_encoding(encode, both_case, symbol, index);
  if (alts != NULL) {
    for (i = 0; alts[i] != '\0'; i++) {
      add_encoding(encode, both_case, alts[i], index);
    }
  }
}
static inline void add_encodings ( uint8_t * encode , bool both_case , char symbol , char * alts , uint8_t index ) { int i ; add_encoding ( encode , both_case , symbol , index ) ; if ( alts != NULL ) { for ( i = 0 ; alts [ i ] != ' \0 ' ; i ++ ) { add_encoding ( encode , both_case , alts [ i ] , index ) ; } } }
add_encoding
 Adds a letter and the alternates to an encoding array.
add_encoding Adds a letter and the alternates to an encoding array .