get_node


Description:

public Node? get_node (int index)

Get a node of a YAML document.

The pointer returned by this function is valid until any of the functions modifying the documents are called.

Parameters:

index

The node id.

document

A document object.

Returns:

the node objct or NULL if node_id is out of range.