forked from vieter-v/libvieter
refactor(tree): proper filenames
parent
1ce3b47edf
commit
e4e92b3e57
|
@ -1,5 +1,5 @@
|
||||||
#include "node.h"
|
|
||||||
#include "vieter_tree.h"
|
#include "vieter_tree.h"
|
||||||
|
#include "vieter_tree_node.h"
|
||||||
|
|
||||||
struct vieter_tree {
|
struct vieter_tree {
|
||||||
uint64_t size;
|
uint64_t size;
|
|
@ -1,4 +1,4 @@
|
||||||
#include "balancing.h"
|
#include "vieter_tree_balancing.h"
|
||||||
|
|
||||||
vieter_tree_node *vieter_tree_node_balance(vieter_tree_node *node) {
|
vieter_tree_node *vieter_tree_node_balance(vieter_tree_node *node) {
|
||||||
vieter_tree_node *parent = node->parent;
|
vieter_tree_node *parent = node->parent;
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef VIETER_TREE_BALANCING
|
#ifndef VIETER_TREE_BALANCING
|
||||||
#define VIETER_TREE_BALANCING
|
#define VIETER_TREE_BALANCING
|
||||||
|
|
||||||
#include "node.h"
|
#include "vieter_tree_node.h"
|
||||||
|
|
||||||
void vieter_tree_node_balance_after_insert(vieter_tree_node *node);
|
void vieter_tree_node_balance_after_insert(vieter_tree_node *node);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "node.h"
|
#include "vieter_tree_node.h"
|
||||||
#include "balancing.h"
|
#include "vieter_tree_balancing.h"
|
||||||
|
|
||||||
vieter_tree_node *vieter_tree_node_init() {
|
vieter_tree_node *vieter_tree_node_init() {
|
||||||
return calloc(1, sizeof(vieter_tree_node));
|
return calloc(1, sizeof(vieter_tree_node));
|
Loading…
Reference in New Issue