C Everything
This is a C repository containing a curated set of generic data structures and algorithm.
tree_node Struct Reference

tree node More...

#include <tree.h>

Data Fields

t_gen key
 Pointer to node key. More...
 
struct tree_nodelchild
 Pointer to node left child. More...
 
struct tree_noderchild
 Pointer to node right child. More...
 
int height
 height of node More...
 

Detailed Description

tree node

Definition at line 9 of file tree.h.

Field Documentation

◆ height

int height

height of node

Definition at line 13 of file tree.h.

◆ key

t_gen key

Pointer to node key.

Definition at line 10 of file tree.h.

◆ lchild

struct tree_node* lchild

Pointer to node left child.

Definition at line 11 of file tree.h.

◆ rchild

struct tree_node* rchild

Pointer to node right child.

Definition at line 12 of file tree.h.


The documentation for this struct was generated from the following file: