diff options
Diffstat (limited to 'src/checkpoint.h')
-rw-r--r-- | src/checkpoint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/checkpoint.h b/src/checkpoint.h index 2792fac..c2457d9 100644 --- a/src/checkpoint.h +++ b/src/checkpoint.h @@ -30,4 +30,7 @@ void checkpoint_run(string msg, string filename, string srcfilename, int line, s #define checkpoint(msg, fname) \ checkpoint_run(msg, fname, __FILE__, __LINE__, __SHOW_FUNC) +#define checkpoint_nofile(msg) \ + checkpoint_run(msg,"none", __FILE__, __LINE__, __SHOW_FUNC) + #endif |