ListPushFront

01 Inserts a list entry at the start of a list.
02

void ListPushFront(ListEntry *pList, ListEntry *pNew)

03 Parameters:
  • pList: Pointer to the list.
  • pNew: Pointer to the new list entry that should be added.
04 Because the entry point of a list itself acts as the start and the end of the list, adding an item at the start is a simple call to ListInsertAfter(pList, pNew).
05 Reference: SemysList.h
Implementation: Semys Library
See Also: List Sub-System, ListPushBack(), ListInsertAfter()

Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details.