deps/kb_meme/meme-5.0.1/src/dreme-sax.c
/*****************************************************************************
 * Report an error to the user.
 ****************************************************************************/
Report an error to the user.
Report an error to the user .
static void error(PS_T *ps, char *fmt, ...) {
  va_list  argp;
  if (ps->callbacks->error) {
    va_start(argp, fmt);
    ps->callbacks->error(ps->user_data, fmt, argp);
    va_end(argp);
  }
  ps->state = PS_ERROR;
}
static void error ( PS_T * ps , char * fmt , ... ) { va_list argp ; if ( ps -> callbacks -> error ) { va_start ( argp , fmt ) ; ps -> callbacks -> error ( ps -> user_data , fmt , argp ) ; va_end ( argp ) ; } ps -> state = PS_ERROR ; }
Report an error to the user.
Report an error to the user .