src/avltree.c
static inline void
avltree_node_set_parent(struct avltree_node *node, struct avltree_node *parent)
{
    assert(avltree_node_check_alignment(node));
    assert(avltree_node_check_alignment(parent));
    node->parent = (uintptr_t)parent | (node->parent & AVLTREE_BALANCE_MASK);
}
/*
 * Set the parent of a node, retaining its current balance.
 */
Set the parent of a node, retaining its current balance.
Set the parent of a node retaining its current balance .
static inline void
avltree_node_set_parent(struct avltree_node *node, struct avltree_node *parent)
{
    assert(avltree_node_check_alignment(node));
    assert(avltree_node_check_alignment(parent));
    node->parent = (uintptr_t)parent | (node->parent & AVLTREE_BALANCE_MASK);
}
static inline void avltree_node_set_parent ( struct avltree_node * node , struct avltree_node * parent ) { assert ( avltree_node_check_alignment ( node ) ) ; assert ( avltree_node_check_alignment ( parent ) ) ; node -> parent = ( uintptr_t ) parent | ( node -> parent & AVLTREE_BALANCE_MASK ) ; }
Set the parent of a node, retaining its current balance.
Set the parent of a node retaining its current balance .