deps/kb_meme/meme-5.0.1/src/alph-in.c
/*
 * add_msg
 * Record an error message for reporting to the calling program
 */
add_msg
Record an error message for reporting to the calling program
add_msg Record an error message for reporting to the calling program
static void add_msg(ALPH_READER_T *reader, PARMSG_T *msg) {
  if (msg->severity == SEVERITY_ERROR) {
    reader->had_error = true;
  } else if (msg->severity == SEVERITY_WARNING) {
    reader->had_warning = true;
  }
  linklst_add(msg, reader->messages);
}
static void add_msg ( ALPH_READER_T * reader , PARMSG_T * msg ) { if ( msg -> severity == SEVERITY_ERROR ) { reader -> had_error = true ; } else if ( msg -> severity == SEVERITY_WARNING ) { reader -> had_warning = true ; } linklst_add ( msg , reader -> messages ) ; }
add_msg
 Record an error message for reporting to the calling program
add_msg Record an error message for reporting to the calling program