File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212#define DEBUG_PRINT (1)
1313#define DEBUG_printf DEBUG_printf
1414#else // don't print debugging info
15- #define DEBUG_printf (args ...) (void)0
15+ #define DEBUG_printf (...) (void)0
1616#endif
1717
1818typedef unsigned char byte ;
Original file line number Diff line number Diff line change 1717#if 0 // print debugging info
1818#define DEBUG_PRINT (1)
1919#else // don't print debugging info
20- #define DEBUG_printf (args ...) (void)0
20+ #define DEBUG_printf (...) (void)0
2121#endif
2222
2323/******************************************************************************/
Original file line number Diff line number Diff line change 2525#define DEBUG_PRINT (1)
2626#define WRITE_CODE (1)
2727#define DEBUG_printf DEBUG_printf
28- #define DEBUG_OP_printf (args ...) DEBUG_printf(args )
28+ #define DEBUG_OP_printf (...) DEBUG_printf(__VA_ARGS__ )
2929#else // don't print debugging info
30- #define DEBUG_printf (args ...) (void)0
31- #define DEBUG_OP_printf (args ...) (void)0
30+ #define DEBUG_printf (...) (void)0
31+ #define DEBUG_OP_printf (...) (void)0
3232#endif
3333
3434// locals and globals need to be pointers because they can be the same in outer module scope
You can’t perform that action at this time.
0 commit comments