Ring1_PointerList
The type of a pointer list.
typedef struct Ring1_PointerList { ... } Ring1_PointerList;
A list of pointers. The size is automatically adjusted as pointers are added and removed.
null pointers are fully supported.
See
Ring1_PointerList_AddedCallback
and
Ring1_PointerList_RemovedCallback
for more information on storing null pointers in pointer lists.
The "appendPointer" and "accessPointer" operations are constant time in all cases,
the "insertPointer" operation linear time in worst case.
An Ring1_PointerList
can be allocated on the stack or on the heap and can be part of struct types.
Before using the pointer list object, it must be initialized using Mkx_PointerList_initialize
.
When no longer required, it must be uninitialized using Mkx_PointerList_uninitialize
.