NAME GU_NodeUp -- Move a node one step towards the top of the list SYNOPSIS success = GU_NodeUp(node, list) D0,SR(Z) A0 A1 BOOL GU_NodeUp(struct Node *, struct List *); FUNCTION Move a node one step up. You can also use the function GU_NodeDown() for moving downwards. INPUTS node - The node to move. list - The list that the node is a part of. RESULT success - TRUE if the node could be moved, else FALSE SR(Z) - 0 if the node could be moved, else 1. BUGS none known SEE ALSO GU_AddTail(), GU_ClearList(), GU_DetachList(), GU_AttachList(), GU_FindNode(), GU_NodeDown(), GU_CountNodes(), GU_NewList(), GU_SortList()
Converted on 19 Jul 1996 with RexxDoesAmigaGuide2HTML by Michael Ranner.