diff options
-rw-r--r-- | src/tree.c | 2 | ||||
-rw-r--r-- | src/tree.h | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -179,7 +179,7 @@ mq_tree_append_sibling_allocated(MqTree *node, MqTree *sibling, gpointer data) } void -mq_tree_remove(MqTree *node) +mq_tree_remove_allocated(MqTree *node) { /* TODO */ node = node; @@ -54,6 +54,9 @@ mq_tree_append_child_allocated(MqTree *node, MqTree *parent, gpointer data); MqTree * mq_tree_append_sibling_allocated(MqTree *node, MqTree *sibling, gpointer data); +void +mq_tree_remove_allocated(MqTree *node); + #define mq_tree_insert_root(data) \ mq_tree_insert_root_allocated(g_new0(MqTree, 1), data) #define mq_tree_append_child(parent, data) \ @@ -61,9 +64,6 @@ mq_tree_append_sibling_allocated(MqTree *node, MqTree *sibling, gpointer data); #define mq_tree_append_sibling(sibling, data) \ mq_tree_append_sibling_allocated(g_new0(MqTree, 1), sibling, data) -void -mq_tree_remove(MqTree *node); - #define mq_tree_size(node) ((node) ? (((MqTree *) (node))->size) : -1) #define mq_tree_position(node) ((node) ? (((MqTree *) (node))->position) : -1) #define mq_tree_root(node) ((node) ? (((MqTree *) (node))->root) : NULL) |