Method

IdeSymbolTreeget_nth_child

Declaration

IdeSymbolNode*
ide_symbol_tree_get_nth_child (
  IdeSymbolTree* self,
  IdeSymbolNode* node,
  guint nth
)

Description

Gets the nth child node of node.

Parameters

node

Type: IdeSymbolNode

An IdeSymboNode.

The argument can be NULL.
The data is owned by the caller of the method.
nth

Type: guint

The nth child to retrieve.

Return value

Type: IdeSymbolNode

An IdeSymbolNode or NULL.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.