26 lines
475 B
Plaintext
26 lines
475 B
Plaintext
.TL
|
|
tree_node.h
|
|
|
|
.AU
|
|
Wael Karram
|
|
|
|
.AB no
|
|
Documentation for tree_node.h
|
|
.AE
|
|
|
|
.DA
|
|
|
|
.LP
|
|
This header defines a tree node, with the prepoccessor variable TREE_NODE_H used as an include guard.
|
|
.br
|
|
Defines a single struct
|
|
.UL tree_node_t \0which
|
|
has the fields
|
|
.I "left" ,\0
|
|
.I "right" \0and
|
|
.I "data" ,
|
|
the former of which are two other node pointers, and the latter is a void pointer.
|
|
.br
|
|
It is of note that this header type-defines the aformentioned node as
|
|
.I "tree_node_t" .
|