summaryrefslogtreecommitdiff
path: root/library/tree.c
blob: 05197678a724aa8a53114706c7b4acf2a5373238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <utils.h>

typedef struct {
  Node *parent;
  u64 nodeType;
  void *value;
} Node;

typedef struct {
  void *page;
} TreeAllocator;

typedef struct {
  TreeAllocator allocactor;
  Node *root;
} Tree;