get_nodes


Description:

public SList<unowned PathNode?> get_nodes ()

Returns a SList of PathNode s.

The list should be freed with g_slist_free. The nodes are owned by the path and should not be freed. Altering the path may cause the nodes in the list to become invalid so you should copy them if you want to keep the list.

Parameters:

this

a Path

Returns:

a list of nodes in the path.