aboutsummaryrefslogtreecommitdiff
path: root/lout
diff options
context:
space:
mode:
Diffstat (limited to 'lout')
-rw-r--r--lout/debug.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/lout/debug.hh b/lout/debug.hh
index b823f171..685238a4 100644
--- a/lout/debug.hh
+++ b/lout/debug.hh
@@ -189,6 +189,13 @@
fflush (stdout); \
} D_STMT_END
+#define DBG_OBJ_SET_BOOL(var, val) \
+ D_STMT_START { \
+ printf (RTFL_PREFIX_FMT "obj-set:%p:%s:%s\n", \
+ RTFL_PREFIX_ARGS, this, var, val ? "true" : "false"); \
+ fflush (stdout); \
+ } D_STMT_END
+
#define DBG_OBJ_SET_PTR_O(obj, var, val) \
D_STMT_START { \
printf (RTFL_PREFIX_FMT "obj-set:%p:%s:%p\n", \