From: Yann Collet Date: Fri, 23 Jun 2017 16:50:47 +0000 (-0700) Subject: Merge pull request #725 from facebook/advancedAPI2 X-Git-Tag: v1.3.0~1^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef269c1b682a1858e84c94363a7c9184b5913e28;p=thirdparty%2Fzstd.git Merge pull request #725 from facebook/advancedAPI2 New Advanced API --- ef269c1b682a1858e84c94363a7c9184b5913e28 diff --cc programs/fileio.c index 0bcd1f87f,d5340cc43..78ac3ba6a --- a/programs/fileio.c +++ b/programs/fileio.c @@@ -91,9 -88,8 +88,9 @@@ * Macros ***************************************/ #define DISPLAY(...) fprintf(stderr, __VA_ARGS__) +#define DISPLAYOUT(...) fprintf(stdout, __VA_ARGS__) #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } } - static int g_displayLevel = 2; /* 0 : no display; 1: errors; 2 : + result + interaction + warnings; 3 : + progression; 4 : + information */ + static int g_displayLevel = 2; /* 0 : no display; 1: errors; 2: + result + interaction + warnings; 3: + progression; 4: + information */ void FIO_setNotificationLevel(unsigned level) { g_displayLevel=level; } #define DISPLAYUPDATE(l, ...) { if (g_displayLevel>=l) { \