struct LList - AmiralBl3ndic/CLib_v2 GitHub Wiki
struct LList
Structure used for double linked lists
Structure declared with a typedef, so you do not have to specify struct LList when declaring a new LList
Properties:
- int val: the value of the element (node in the LList)
- struct LList* next: pointer on the next element (node) in the LList,
NULLif last element - struct LList* prev: pointer on the previous element (node) in the LList,
NULLif first element
We recommend you to use the functions provided with this structure to manipulate your LLists; see the documentation of the functions for more information
struct LList
{
int val;
struct LList next;
struct LList prev;
}