aboutsummaryrefslogtreecommitdiff
path: root/tree.h
blob: 6aa5c4e094f930a880368fab604e4c6411f35263 (plain)
1
2
3
4
5
6
7
8
struct treenode {
	uint64_t key;
	void *child[2];
	int height;
	_Bool new;  /* set by treeinsert if this node was newly allocated */
};

void *treeinsert(void **, uint64_t, size_t);