Method

IdeTreeNodeinsert_sorted

Declaration

void
ide_tree_node_insert_sorted (
  IdeTreeNode* self,
  IdeTreeNode* child,
  IdeTreeNodeCompare cmpfn
)

Description

Insert child as a child of self at the sorted position determined by cmpfn.

Parameters

child

Type: IdeTreeNode

An IdeTreeNode.

The data is owned by the caller of the method.
cmpfn

Type: IdeTreeNodeCompare

An IdeTreeNodeCompare.