summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tree.h b/src/tree.h
index 4d06a65..4181d7c 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -69,6 +69,8 @@ mq_tree_remove(MqTree *node);
#define mq_tree_root(node) ((node) ? (((MqTree *) (node))->root) : NULL)
#define mq_tree_previous(node) ((node) ? (((MqTree *) (node))->prev) : NULL)
#define mq_tree_next(node) ((node) ? (((MqTree *) (node))->prev) : NULL)
+#define mq_tree_first_child(node) \
+ ((node) ? (((MqTree *) (node))->first_child) : NULL)
MqTree *
mq_tree_seek(MqTree *node, gint offset);