ajlist


Data type AjPListNode

Substructure of AjPList

Alias name(s)

Name
AjSListNode
AjOListNode

Attributes

NameTypeDescription
Nextstruct AjSListNode*next item
Prevstruct AjSListNode*previous item
Itemvoid*data value


Data type AjPList

List data object. Lists are simple linked lists with performance optimised to allow rapid extension of the beginning or end of the list.

Lists can hold any data type. Special functions are available for lists of AjPStr values. In general, these functions are the same. Many are provided for ease of use to save remembering which calls need special cases.

Alias name(s)

Name
AjSList
AjOList

Attributes

NameTypeDescription
FirstAjPListNodefirst node
LastAjPListNodedummy last node
Deldata(void*)Value destructor, or NULL if not an object
CountajuintNumber of nodes
UseajuintReference count


Data type AjIList

AJAX list iterator data structure

Alias name(s)

Name
AjSIList
AjOIList

Attributes

NameTypeDescription
HeadAjPListHead of modifiable list
ReadHeadconst AjPListHead of read-only list
HereAjPListNodeCurrent list node
BackAjBoolDirection of last iterative move, true if reading back
ModifyAjBoolAllows iterator to modify the sequence