|
MGE General C Library - API Documentation v1.9.0
Library of general C functions.
|
Binary search tree node. More...
#include <mge-bstree.h>

Data Fields | |
| void * | object |
| The object attached to the node. | |
| int | count |
| The node counter. | |
| struct bstreenode * | childless |
| Child node less than this node. | |
| struct bstreenode * | childgreater |
| Child node greater than this node. | |
Binary search tree node.
| struct bstreenode* childgreater |
Child node greater than this node.
| struct bstreenode* childless |
Child node less than this node.
| int count |
The node counter.
If duplicates are allowed in the tree then this counter keeps track of the additions and deletions of this node.
| void* object |
The object attached to the node.