axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axlNode * axl_node_get_previous ( axlNode node)

Allows to get the previous reference relative to the node reference provided.

See axl_node_get_next. Previous reference is the considered the previous node to the referenced provided that shares the same parent and it is situated in the same level.

Parameters
nodeThe node where the previous reference to the previous node will be returned.
Returns
The previous node reference or NULL if the node doesn't have previous reference or NULL if the function fails (the function only fails if the node reference provided is null).

References axl_item_get_previous(), axl_item_get_type(), axl_return_val_if_fail, and ITEM_NODE.

Referenced by axl_node_get_previous_called(), and axl_ns_node_get_previous_called().