aboutsummaryrefslogtreecommitdiff
path: root/src/include/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/tree.h')
-rw-r--r--src/include/tree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/tree.h b/src/include/tree.h
index d22efc1..5208080 100644
--- a/src/include/tree.h
+++ b/src/include/tree.h
@@ -92,6 +92,9 @@ void tree_rm(tree_t* t);
tree_t* tree_copy_out(tree_t* tree);
+// Copies a tree to `dest`.
+void tree_cpy(tree_t** dest, tree_t* src);
+
/*
Compare two trees. For testing.
Returns 1 if the same, otherwise 0.