diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-24 04:53:19 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-24 04:53:19 (EDT) |
commit | e05680312031f31ba72217b58c5f086f5d132f56 (patch) | |
tree | 700530eecdb0cc657889c81f319ba3e283b14f66 /src | |
parent | 90f6250f94a94272d6c7380fa017d701732058e6 (diff) | |
download | marquee-e05680312031f31ba72217b58c5f086f5d132f56.zip marquee-e05680312031f31ba72217b58c5f086f5d132f56.tar.gz marquee-e05680312031f31ba72217b58c5f086f5d132f56.tar.bz2 |
MqTree: Add sizes and positions to insertion dbg output
Diffstat (limited to 'src')
-rw-r--r-- | src/tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -40,7 +40,8 @@ print_tree_recurse(MqTree *node, gsize indent) for (i = 0; i < indent; ++i) { g_print("\t"); } - g_print("\t0x%" PRIxPTR "\n", (uintptr_t) node); + g_print("\t0x%" PRIxPTR " (size %d, position %d)\n", + (uintptr_t) node, node->size, node->position); if (node->first_child) { print_tree_recurse(node->first_child, indent + 1); |