Skip to content

Commit 057fef7

Browse files
committed
update hprint macro
1 parent 2cf8ce6 commit 057fef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithm.org

+1-1
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ computation can automatically move closer to the IO source
609609
// ddebug
610610
#define HDEBUG
611611
#ifdef HDEBUG
612-
#define hprint(fmt, args...) printf(fmt, ##args)
612+
#define hprint(...) printf(__VA_ARGS__)
613613
#else
614614
#define hprint(fmt,args...)
615615
#endif

0 commit comments

Comments
 (0)