nonbinary-tree(TM) now works in a very minimal instance
This commit is contained in:
parent
330755591b
commit
b16590fd5a
15 changed files with 132 additions and 216 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/*
|
||||
*/
|
||||
static inline struct ct_node *__root_node(void) {
|
||||
return new_node(termdims(), bounds_none(), NULL);
|
||||
return __node(termdims(), bounds_none(), NULL);
|
||||
}
|
||||
|
||||
int init_tree(struct ct_tree **const tree) {
|
||||
|
|
@ -16,7 +16,7 @@ int init_tree(struct ct_tree **const tree) {
|
|||
}
|
||||
|
||||
void destroy_tree(struct ct_tree *const tree) {
|
||||
destroy_node(tree->root);
|
||||
__destroy_node(tree->root);
|
||||
end_ncurses();
|
||||
free(tree);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue