diff options
author | David Phillips <david@sighup.nz> | 2019-03-10 21:22:23 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-03-10 21:45:55 +1300 |
commit | b47a999dee9ee7a0d2e7b0c4d1cf25282abfa71a (patch) | |
tree | 90a282f7f4c3c3766648df42061c3062ef9e7b4b /debug.h | |
parent | b434d87ee4deb9cc07af1be79d90b874fa139321 (diff) | |
download | sudoku-b47a999dee9ee7a0d2e7b0c4d1cf25282abfa71a.tar.xz |
Clean-up
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#ifndef SUDOKU_DEBUG_H +#define SUDOKU_DEBUG_H + +#include <stdio.h> + +#define NAME_CELL(x,y) ("ABCDEFGHI"[(x)]), ("123456789"[(y)]) + +//#define DEBUG +#ifdef DEBUG +# define DEBUG_LOG(args...) printf(args) +#else +# define DEBUG_LOG(...) +#endif + +#endif /* SUDOKU_DEBUG_H */ |