prg_list_iterator_attach()
Abstract
Attaches a list iterator to a list.
Syntax
prg_list_iterator_attach (list_iter_ptr, list_ptr)
| Argument | Type | Description |
|---|---|---|
list_iter_ptr |
PrgT_List_Iterator * |
List iterator to attach. |
list_ptr |
PrgT_List * |
List to which to attach the iterator. |
Return Type
void
No return value.
Header
prg_list_funcs.h
Details
This function resets a list iterator to be attached to a specified list. The list_iter_ptr and list_ptr arguments must not be NIL.
WARNING: This function is MT unsafe, as described in “Multi-Threading Safety“ on page 11. Access to shared lists must be externally serialized.