src/avltree.h
static inline void
avltree_insert_slot(struct avltree *tree, avltree_slot_t slot,
                    struct avltree_node *node)
{
    struct avltree_node *parent;
    int index;

    parent = avltree_slot_parent(slot);
    index = avltree_slot_index(slot);
    avltree_insert_rebalance(tree, parent, index, node);
}
/*
 * Insert a node at an insertion point in a tree.
 *
 * This macro essentially acts as avltree_insert() except that it doesn't
 * obtain the insertion point with a standard lookup. The insertion point
 * is obtained by calling avltree_lookup_slot(). In addition, the new node
 * must not compare equal to an existing node in the tree (i.e. the slot
 * must denote a NULL node).
 */
Insert a node at an insertion point in a tree.
This macro essentially acts as avltree_insert() except that it doesn't
obtain the insertion point with a standard lookup. The insertion point
is obtained by calling avltree_lookup_slot(). In addition, the new node
must not compare equal to an existing node in the tree .
Insert a node at an insertion point in a tree . This macro essentially acts as avltree_insert () except that it doesn ' t obtain the insertion point with a standard lookup . The insertion point is obtained by calling avltree_lookup_slot () . In addition the new node must not compare equal to an existing node in the tree .
static inline void
avltree_insert_slot(struct avltree *tree, avltree_slot_t slot,
                    struct avltree_node *node)
{
    struct avltree_node *parent;
    int index;
    parent = avltree_slot_parent(slot);
    index = avltree_slot_index(slot);
    avltree_insert_rebalance(tree, parent, index, node);
}
static inline void avltree_insert_slot ( struct avltree * tree , avltree_slot_t slot , struct avltree_node * node ) { struct avltree_node * parent ; int index ; parent = avltree_slot_parent ( slot ) ; index = avltree_slot_index ( slot ) ; avltree_insert_rebalance ( tree , parent , index , node ) ; }
Insert a node at an insertion point in a tree.
Insert a node at an insertion point in a tree .