shithub: aubio

ref: 3684ab46aec73be1c65fd8d989dec0f02492009a
dir: /tests/utils_tests.h/

View raw version
#include <stdlib.h>
#include <stdio.h>

#define PRINT_ERR(format, args...)   fprintf(stderr, "AUBIO ERROR: " format , ##args)
#define PRINT_MSG(format, args...)   fprintf(stdout, format , ##args)
#define PRINT_DBG(format, args...)   fprintf(stderr, format , ##args)
#define PRINT_WRN(...)               fprintf(stderr, "AUBIO WARNING: " format, ##args)