MGE General C Library - API Documentation v1.8.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. More... | |
int | count |
The node counter. More... | |
struct bstreenode * | childless |
Child node less than this node. More... | |
struct bstreenode * | childgreater |
Child node greater than this node. More... | |
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.