diff options
author | P. J. McDermott <pj@pehjota.net> | 2018-09-30 18:34:15 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2018-09-30 18:34:15 (EDT) |
commit | 6039beb6de58ca6fc25a9c2e2e109b700c5c00a0 (patch) | |
tree | 902b1e8d4298c2c02d9e7586843a41eb514f9e14 /src | |
parent | 251e8dda7296f3516c017f6dad21a1d3fa2f4baf (diff) | |
download | marquee-6039beb6de58ca6fc25a9c2e2e109b700c5c00a0.zip marquee-6039beb6de58ca6fc25a9c2e2e109b700c5c00a0.tar.gz marquee-6039beb6de58ca6fc25a9c2e2e109b700c5c00a0.tar.bz2 |
MqTree: Print root node addresses in debugging output
Diffstat (limited to 'src')
-rw-r--r-- | src/tree.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -51,6 +51,11 @@ debug_print_tree_recurse(MqTree *node, gsize indent) for (i = 0; i < indent; ++i) { g_print("\t"); } + g_print("\t\t\t(root 0x%0*" PRIxPTR ")\n", + PRIWxPTR, (uintptr_t) node->root); + for (i = 0; i < indent; ++i) { + g_print("\t"); + } g_print("\t\t\t(parent 0x%0*" PRIxPTR ")\n", PRIWxPTR, (uintptr_t) node->parent); for (i = 0; i < indent; ++i) { |