diff options
author | Sebastian Geerken <devnull@localhost> | 2014-02-10 21:53:04 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-02-10 21:53:04 +0100 |
commit | 596e8b7db021672e1a9df38946174e2f985a2c3d (patch) | |
tree | 70597636ab297b07dd9179ed229d684d1f97f678 /lout/debug.hh | |
parent | efa825e13a563d84441f7eaf1a7bd56449051d34 (diff) |
RTFL.
Diffstat (limited to 'lout/debug.hh')
-rw-r--r-- | lout/debug.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lout/debug.hh b/lout/debug.hh index 4f053172..bf434e07 100644 --- a/lout/debug.hh +++ b/lout/debug.hh @@ -148,6 +148,13 @@ fflush (stdout); \ } D_STMT_END +#define DBG_OBJ_SET_NUM_O(obj, var, val) \ + D_STMT_START { \ + printf (RTFL_PREFIX_FMT "obj-set:%p:%s:%d\n", \ + RTFL_PREFIX_ARGS, obj, var, val); \ + fflush (stdout); \ + } D_STMT_END + #define DBG_OBJ_SET_STR(var, val) \ D_STMT_START { \ printf (RTFL_PREFIX_FMT "obj-set:%p:%s:%s\n", \ @@ -227,6 +234,7 @@ #define DBG_OBJ_ASSOC_CHILD(child) D_STMT_NOP #define DBG_OBJ_ASSOC(parent, child) D_STMT_NOP #define DBG_OBJ_SET_NUM(var, val) D_STMT_NOP +#define DBG_OBJ_SET_NUM_O(obj, var, val) D_STMT_NOP #define DBG_OBJ_SET_STR(var, val) D_STMT_NOP #define DBG_OBJ_SET_PTR(var, val) D_STMT_NOP #define DBG_OBJ_ARRSET_NUM(var, ind, val) D_STMT_NOP |