Improve the debug printing function:
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 21 Aug 2017 13:31:06 +0000 (15:31 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 21 Aug 2017 13:31:06 +0000 (15:31 +0200)
commit21e06607a012704bed3c3b009fa76c4a7f973887
treef0d23b357b11848ee326c800ca4a88e74bbf47a3
parent658c6acc5900678d8f2a4a31acb407b027c90f4c
Improve the debug printing function:

- Add va_arg support;
- Flag the debug char* properly;
- Use the function in the pawns array displaying helper function.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
lib/debug.c
lib/debug.h