lwpa  0.1.0
LightWeight Platform Abstraction (lwpa)
View other versions:
LwpaRbIter Struct Reference

Overview

A red-black tree iterator.

Initialize using rb_iter_init() before carrying out any other operation on the iterator.

Data Fields

LwpaRbTreetree
 The tree being iterated over.
 
LwpaRbNodenode
 The current node.
 
LwpaRbNodepath [RB_ITER_MAX_HEIGHT]
 The traversal path to the current node.
 
size_t top
 Top of the traversal stack.
 
void * info
 User provided, not used by rb_iter.
 

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