Add toArray to bintree.c

This commit is contained in:
Tobias Linz committed 2026-11-18 22:06:47 +01:00
1 parent a062691967
commit 6ec27077c8
3 files changed
+29 -1

No files matched your search

+3 -1
View File
@@ -23,5 +23,7 @@ void *nextTreeData(TreeNode *root);
void clearTree(TreeNode *root);
// Returns the number of entries in the tree given by root.
unsigned int treeSize(const TreeNode *root);
// Converts a tree to an array where all values are sorted.
void *toArray(TreeNode *const root, const size_t dataSize);
#endif
#endif