From: handa Date: Thu, 29 Jul 2004 12:55:32 +0000 (+0000) Subject: (MDEBUG_PRINT5): New macro. X-Git-Tag: REL-1-1-0~50 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fabdd615792cd4bea14e68b29a59930117440a4;p=m17n%2Fm17n-lib.git (MDEBUG_PRINT5): New macro. --- diff --git a/src/internal.h b/src/internal.h index 1dd0782..13f2b49 100644 --- a/src/internal.h +++ b/src/internal.h @@ -505,6 +505,12 @@ extern void mdebug__print_time (); fprintf (stderr, (fmt), (arg1), (arg2), (arg3), (arg4)); \ } while (0) +#define MDEBUG_PRINT5(fmt, arg1, arg2, arg3, arg4, arg5) \ + do { \ + if (mdebug__flag & mdebug_mask) \ + fprintf (stderr, (fmt), (arg1), (arg2), (arg3), (arg4), (arg5)); \ + } while (0) + #define MDEBUG_PUSH_TIME() \ do { \