Method
IdeTreeNodeinsert_sorted
since: 3.32
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
This operation is O(n).
Available since: 3.32
Parameters
child-
Type:
IdeTreeNodeAn
IdeTreeNode.The data is owned by the caller of the function. cmpfn-
Type:
IdeTreeNodeCompareAn
IdeTreeNodeCompare.