home *** CD-ROM | disk | FTP | other *** search
- /*
- #### # # # #
- # # # # # The FreeWare C library for
- # # ## ### # # # # ### RISC OS machines
- # # # # # # # # # # # ___________________________________
- # # #### ### ## # # # #
- # # # # # # # # # # Please refer to the accompanying
- #### ### #### # # ##### # ### documentation for conditions of use
- ________________________________________________________________________
-
- File: LinkList.!Macros.c
- Author: Copyright © 1992 Jason Williams
- Version: 1.02 (16 Mar 1992)
- Purpose: Linked list handling functions
- */
-
- /*
- ===========================================================
- The following functions are defined as macros in LinkList.h
- ===========================================================
-
- extern void *LinkList_FirstItem(linklist_header *anchor)
- {
- return(anchor->next);
- }
-
-
- extern void *LinkList_LastItem(linklist_header *anchor)
- {
- return(anchor->previous);
- }
-
-
- extern void LinkList_Init(linklist_header *item)
- {
- item->next = NULL;
- item->previous = NULL;
- }
-
-
- extern void *LinkList_NextItem(linklist_header *item)
- {
- return(item->next);
- }
-
-
- extern void *LinkList_Previous_Item(linklist_header *item)
- {
- return(item->previous);
- }
- */
-