A list of pointers.
More...
A list of pointers.
This is basically a list for pointers, but since it uses tables instead of those list objects normally used throughout Gwen it is less memory consuming.
◆ GWEN_PointerList_AddPtr()
Adds a ptr to the list. This function does no doublecheck.
◆ GWEN_PointerList_AppendPtr()
Always append ptr at the end of the list.
◆ GWEN_PointerList_Attach()
◆ GWEN_PointerList_Clear()
Removes all ptrs from the list thus leaving it empty.
◆ GWEN_PointerList_DelPtr()
Removes the first occurrence of the given ptr.
- Returns
- 0 if deleted, !=0 if the ptr wasn't found
◆ GWEN_PointerList_dup()
Returns a new id list which contains all the ids of the given list in the same order. However, the list returned might be more is compact (i.e. it has fewer wholes), so the positions of ids within the list might have changed!.
◆ GWEN_PointerList_free()
◆ GWEN_PointerList_GetEntryCount()
◆ GWEN_PointerList_GetFirstPtr()
◆ GWEN_PointerList_GetNextPtr()
◆ GWEN_PointerList_GetPtrAt()
◆ GWEN_PointerList_HasPtr()
Checks whether the given ptr exists in the ptrlist.
- Returns
- 0 if found, !=0 otherwise
◆ GWEN_PointerList_new()