src/rbtree.c
static inline void
rbtree_node_set_parent(struct rbtree_node *node, struct rbtree_node *parent)
{
    assert(rbtree_node_check_alignment(node));
    assert(rbtree_node_check_alignment(parent));

    node->parent = (uintptr_t)parent | (node->parent & RBTREE_COLOR_MASK);
}
/*
 * Set the parent of a node, retaining its current color.
 */
Set the parent of a node, retaining its current color.
Set the parent of a node retaining its current color .
static inline void
rbtree_node_set_parent(struct rbtree_node *node, struct rbtree_node *parent)
{
    assert(rbtree_node_check_alignment(node));
    assert(rbtree_node_check_alignment(parent));
    node->parent = (uintptr_t)parent | (node->parent & RBTREE_COLOR_MASK);
}
static inline void rbtree_node_set_parent ( struct rbtree_node * node , struct rbtree_node * parent ) { assert ( rbtree_node_check_alignment ( node ) ) ; assert ( rbtree_node_check_alignment ( parent ) ) ; node -> parent = ( uintptr_t ) parent | ( node -> parent & RBTREE_COLOR_MASK ) ; }
Set the parent of a node, retaining its current color.
Set the parent of a node retaining its current color .