20 for(;count &&
ellCount(pFrom); count--) {
57 ellMoveN(&Q, &INP, insize);
58 ellMoveN(&P, &INP, insize);
#define assert(exp)
Declare that a condition should be true.
#define ellCount(PLIST)
Report the number of nodes in a list.
An EPICS-specific replacement for ANSI C's assert.
ELLNODE * ellGet(ELLLIST *pList)
Deletes and returns the first node from a list.
A doubly-linked list library.
void ellAdd(ELLLIST *pList, ELLNODE *pNode)
Adds a node to the end of a list.
void ellSortStable(ELLLIST *pList, pListCmp cmp)
Stable (MergeSort) of a given list.
#define ellInit(PLIST)
Initialize a list type.
void ellConcat(ELLLIST *pDstList, ELLLIST *pAddList)
Concatenates a list to the end of another list. The list to be added is left empty. Either list (or both) can be empty at the beginning of the operation.
int(* pListCmp)(const ELLNODE *A, const ELLNODE *B)
#define ellFirst(PLIST)
Find the first node in list.