refactor cursetree into node.c & tree.c
This commit is contained in:
parent
daaaaf979c
commit
2d76f8221e
6 changed files with 288 additions and 304 deletions
15
cursetree/tree.h
Normal file
15
cursetree/tree.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef CURSETREE_TREE_H
|
||||
#define CURSETREE_TREE_H
|
||||
|
||||
#include "node.h"
|
||||
|
||||
struct crs_tree {
|
||||
struct crs_node *root;
|
||||
};
|
||||
|
||||
/* === External Interface === */
|
||||
int init_tree(struct crs_tree **const tree);
|
||||
void destroy_tree(struct crs_tree *const tree);
|
||||
void resize_tree(struct crs_tree *const tree, struct crs_nodedims *const dims);
|
||||
|
||||
#endif /* CURSETREE_TREE_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue