forked from freudenreichan/info2Praktikum-DobleSpiel
Add toArray to bintree.c
This commit is contained in:
3 files changed
+29
-1
No files matched your search
+3
-1
@@ -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
|
||||
Reference in new issue
Block a user