From e05680312031f31ba72217b58c5f086f5d132f56 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 24 Oct 2017 04:53:19 -0400 Subject: MqTree: Add sizes and positions to insertion dbg output --- (limited to 'src') diff --git a/src/tree.c b/src/tree.c index 634e38a..9d35291 100644 --- a/src/tree.c +++ b/src/tree.c @@ -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); -- cgit v0.9.1