src/avltree.c
static inline void
avltree_node_set_balance(struct avltree_node *node, int balance)
{
    assert((-1 <= balance) && (balance <= 1));
    node->parent = (node->parent & AVLTREE_PARENT_MASK) | (balance + 1);
}
/*
 * Set the balance of a node, retaining its current parent.
 */
Set the balance of a node, retaining its current parent.
Set the balance of a node retaining its current parent .
static inline void
avltree_node_set_balance(struct avltree_node *node, int balance)
{
    assert((-1 <= balance) && (balance <= 1));
    node->parent = (node->parent & AVLTREE_PARENT_MASK) | (balance + 1);
}
static inline void avltree_node_set_balance ( struct avltree_node * node , int balance ) { assert ( ( -1 <= balance ) && ( balance <= 1 ) ) ; node -> parent = ( node -> parent & AVLTREE_PARENT_MASK ) | ( balance + 1 ) ; }
Set the balance of a node, retaining its current parent.
Set the balance of a node retaining its current parent .