client/src/unifycr.c
int unifycr_vunsupported(
  const char* fn_name,
  const char* file,
  int line,
  const char* fmt,
  va_list args)
{
    /* print a message about where in the UNIFYCR code we are */
    printf("UNSUPPORTED: %s() at %s:%d: ", fn_name, file, line);

    /* print string with more info about call, e.g., param values */
    va_list args2;
    va_copy(args2, args);
    vprintf(fmt, args2);
    va_end(args2);

    /* TODO: optionally abort */

    return UNIFYCR_SUCCESS;
}
/* single function to route all unsupported wrapper calls through */
single function to route all unsupported wrapper calls through
single function to route all unsupported wrapper calls through
int unifycr_vunsupported(
  const char* fn_name,
  const char* file,
  int line,
  const char* fmt,
  va_list args)
{
    printf("UNSUPPORTED: %s() at %s:%d: ", fn_name, file, line);
    va_list args2;
    va_copy(args2, args);
    vprintf(fmt, args2);
    va_end(args2);
    return UNIFYCR_SUCCESS;
}
int unifycr_vunsupported ( const char * fn_name , const char * file , int line , const char * fmt , va_list args ) { printf ( " " , fn_name , file , line ) ; va_list args2 ; va_copy ( args2 , args ) ; vprintf ( fmt , args2 ) ; va_end ( args2 ) ; return UNIFYCR_SUCCESS ; }
single function to route all unsupported wrapper calls through
single function to route all unsupported wrapper calls through
/* print a message about where in the UNIFYCR code we are */ /* print string with more info about call, e.g., param values */ /* TODO: optionally abort */