diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-25 09:40:10 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-25 09:40:10 (EDT) |
commit | 1cdb6e30f0feebc06d4e8afcaefa9a8a900bdb89 (patch) | |
tree | 5f317bb7f29264628f7cd92d1ab7dd58c3a9b2ac | |
parent | c0a7c41c530dfb0a0adba9cbe469347316c7ebe9 (diff) | |
download | marquee-1cdb6e30f0feebc06d4e8afcaefa9a8a900bdb89.zip marquee-1cdb6e30f0feebc06d4e8afcaefa9a8a900bdb89.tar.gz marquee-1cdb6e30f0feebc06d4e8afcaefa9a8a900bdb89.tar.bz2 |
mq_tree_remove(): Rename to mq_tree_remove_allocated()
-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) |