Functions | |
GWENHYWFAR_API int | GWEN_IdList_AddId (GWEN_IDLIST *idl, GWEN_TYPE_UINT32 id) |
GWENHYWFAR_API void | GWEN_IdList_Clear (GWEN_IDLIST *idl) |
GWENHYWFAR_API int | GWEN_IdList_DelId (GWEN_IDLIST *idl, GWEN_TYPE_UINT32 id) |
GWENHYWFAR_API GWEN_IDLIST * | GWEN_IdList_dup (const GWEN_IDLIST *idl) |
GWENHYWFAR_API void | GWEN_IdList_free (GWEN_IDLIST *idl) |
GWENHYWFAR_API GWEN_TYPE_UINT32 | GWEN_IdList_GetFirstId (GWEN_IDLIST *idl) |
GWENHYWFAR_API GWEN_TYPE_UINT32 | GWEN_IdList_GetNextId (GWEN_IDLIST *idl) |
GWENHYWFAR_API int | GWEN_IdList_HasId (const GWEN_IDLIST *idl, GWEN_TYPE_UINT32 id) |
GWENHYWFAR_API GWEN_IDLIST * | GWEN_IdList_new () |
GWENHYWFAR_API int | GWEN_IdList_Sort (GWEN_IDLIST *idl) |
This is basically a list for GWEN_TYPE_UINT32 objects, but since it uses tables instead of those list objects normally used throughout Gwen it is less memory consuming.
|
Adds an id to the list. This function does no doublecheck. |
|
Removes all ids from the list thus leaving it empty. |
|
Removes the first occurrence of the given id.
|
|
Returns a new id list which contains all the ids of the given list in the same order. However, the list returned is compact (i.e. it has no wholes). |
|
Destructor. |
|
Returns the first id from the list. |
|
|
|
Checks whether the given id exists in the idlist.
|
|
Constructor. |
|
Sorts the ids in ascending order |