diff options
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -38,14 +38,13 @@ struct _ZixTree { }; struct _ZixTreeNode { - struct _ZixTreeNode* parent; + const void* data; struct _ZixTreeNode* left; struct _ZixTreeNode* right; - const void* data; - int8_t balance; + struct _ZixTreeNode* parent; + int_fast8_t balance; }; - #ifdef ZIX_TREE_DUMP static void zix_tree_print(ZixTreeNode* node, int level) |