src/avltree.c
static inline int
avltree_node_balance(const struct avltree_node *node)
{
    int balance;

    balance = (node->parent & AVLTREE_BALANCE_MASK);
    assert(balance != AVLTREE_BALANCE_INVALID);

    return balance - 1;
}
/*
 * Return the balance of a node.
 */
Return the balance of a node.
Return the balance of a node .
static inline int
avltree_node_balance(const struct avltree_node *node)
{
    int balance;
    balance = (node->parent & AVLTREE_BALANCE_MASK);
    assert(balance != AVLTREE_BALANCE_INVALID);
    return balance - 1;
}
static inline int avltree_node_balance ( const struct avltree_node * node ) { int balance ; balance = ( node -> parent & AVLTREE_BALANCE_MASK ) ; assert ( balance != AVLTREE_BALANCE_INVALID ) ; return balance - 1 ; }
Return the balance of a node.
Return the balance of a node .