src/rbtree.c
static inline void
rbtree_node_set_color(struct rbtree_node *node, int color)
{
    assert((color & ~RBTREE_COLOR_MASK) == 0);
    node->parent = (node->parent & RBTREE_PARENT_MASK) | color;
}
/*
 * Set the color of a node, retaining its current parent.
 */
Set the color of a node, retaining its current parent.
Set the color of a node retaining its current parent .
static inline void
rbtree_node_set_color(struct rbtree_node *node, int color)
{
    assert((color & ~RBTREE_COLOR_MASK) == 0);
    node->parent = (node->parent & RBTREE_PARENT_MASK) | color;
}
static inline void rbtree_node_set_color ( struct rbtree_node * node , int color ) { assert ( ( color & ~ RBTREE_COLOR_MASK ) == 0 ) ; node -> parent = ( node -> parent & RBTREE_PARENT_MASK ) | color ; }
Set the color of a node, retaining its current parent.
Set the color of a node retaining its current parent .