deps/kb_meme/meme-5.0.1/src/alph-in.c
/*
 * alph_sym_create
 * This wraps the passed parameters in a ALPH_SYM_T structure
 * it does NOT copy the name and comprise fields.
 */
alph_sym_create
This wraps the passed parameters in a ALPH_SYM_T structure
it does NOT copy the name and comprise fields.
alph_sym_create This wraps the passed parameters in a ALPH_SYM_T structure it does NOT copy the name and comprise fields .
static ALPH_SYM_T* alph_sym_create(char symbol, char *name, int32_t colour, char complement, char* comprise) {
  ALPH_SYM_T* sym;
  sym = mm_malloc(sizeof(ALPH_SYM_T));
  sym->symbol = symbol;
  sym->aliases = NULL;
  sym->colour = colour;
  sym->name = name;
  sym->complement = complement;
  sym->comprise = comprise;
  return sym;
}
static ALPH_SYM_T * alph_sym_create ( char symbol , char * name , int32_t colour , char complement , char * comprise ) { ALPH_SYM_T * sym ; sym = mm_malloc ( sizeof ( ALPH_SYM_T ) ) ; sym -> symbol = symbol ; sym -> aliases = NULL ; sym -> colour = colour ; sym -> name = name ; sym -> complement = complement ; sym -> comprise = comprise ; return sym ; }
alph_sym_create
 This wraps the passed parameters in a ALPH_SYM_T structure
 it does NOT copy the name and comprise fields.
alph_sym_create This wraps the passed parameters in a ALPH_SYM_T structure it does NOT copy the name and comprise fields .