30 RB_GENERATE_MINMAX( RBTree_Control,
RBTree_Node, Node,
static )
32 RB_GENERATE_NEXT( RBTree_Control,
RBTree_Node, Node, static )
34 RB_GENERATE_PREV( RBTree_Control,
RBTree_Node, Node, static )
38 return RB_MIN( RBTree_Control,
RTEMS_DECONST( RBTree_Control *, tree ) );
43 return RB_MAX( RBTree_Control,
RTEMS_DECONST( RBTree_Control *, tree ) );
RBTree_Node * _RBTree_Predecessor(const RBTree_Node *node)
Returns the predecessor of a node.
RBTree_Node * _RBTree_Minimum(const RBTree_Control *tree)
Returns the minimum node of the red-black tree.
RBTree_Node * _RBTree_Successor(const RBTree_Node *node)
Returns the successor of a node.
Inlined Routines Associated with Red-Black Trees.
This header file provides basic definitions used by the API and the implementation.
RBTree_Node * _RBTree_Maximum(const RBTree_Control *tree)
Returns the maximum node of the red-black tree.
#define RTEMS_DECONST(_type, _var)
Performs a type cast which removes const qualifiers without warnings to the specified type for the sp...