summaryrefslogtreecommitdiff
path: root/lout
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-06-19 21:25:29 +0200
committerSebastian Geerken <devnull@localhost>2014-06-19 21:25:29 +0200
commite96f5d77ff1553b4089fff0a0cbe5f0a42b8acfe (patch)
treeb764015efece39070b443967b7db98b7112f3c64 /lout
parentcdcaaca92d5e80107b4e181846f37a35fd45d6a6 (diff)
Fixed table bug.
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", \