Method

IdeTreeNodeinsert_before

since: 3.32

Declaration

void
ide_tree_node_insert_before (
  IdeTreeNode* self,
  IdeTreeNode* child
)

Description

Inserts child directly before self by adding it to the parent of self.

This operation is O(1).

Available since: 3.32

Parameters

child

Type: IdeTreeNode

A IdeTreeNode.

The data is owned by the caller of the function.