10 #ifndef GUARD_LINKEDLIST_H_INCLUDE
11 #define GUARD_LINKEDLIST_H_INCLUDE
13 #include <linkedlist/linkedlist-config.h>
94 return lPushFront (first_item, new_item);
102 return lPushBack (first_item, new_item);
119 if (first_item == NULL)
return 0;
149 #endif // GUARD_LINKEDLIST_H_INCLUDE
static LinkedList * append(LinkedList *first_item, LinkedList *new_item)
Inserts the item in the list as the first item.
Definition: linkedlist.h:99
static int lCount(LinkedList *first_item)
Finds out the number of elements in the list.
Definition: linkedlist.h:117
LinkedList * lNext()
Get next item.
Definition: linkedlist.h:71
static LinkedList * lFirst(LinkedList *first_item)
Get the first item.
Definition: linkedlist.h:136
A double-linked list.
Definition: linkedlist.h:16
static LinkedList * preppend(LinkedList *first_item, LinkedList *new_item)
Inserts the item in the list as the first item.
Definition: linkedlist.h:91
int lNextCount()
Finds out the number of elements that follow this one in the list.
Definition: linkedlist.cc:59
LinkedList * lPrevious()
Get previous item.
Definition: linkedlist.h:65