gwenhywfar  4.6.0beta
Macros | Functions
list.c File Reference
#include "list_p.h"
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>

Go to the source code of this file.

Macros

#define DISABLE_DEBUGLOG

Functions

void GWEN__ListPtr_Attach (GWEN__LISTPTR *lp)
void GWEN__ListPtr_Clear (GWEN__LISTPTR *lp)
GWEN__LISTPTR * GWEN__ListPtr_dup (GWEN__LISTPTR *lp)
void GWEN__ListPtr_free (GWEN__LISTPTR *lp)
GWEN__LISTPTR * GWEN__ListPtr_new (void)
void GWEN_ConstList_Clear (GWEN_CONSTLIST *l)
const void * GWEN_ConstList_Contains (const GWEN_CONSTLIST *l, const void *p)
void GWEN_ConstList_Erase (GWEN_CONSTLIST *l, GWEN_CONSTLIST_ITERATOR *it)
GWEN_CONSTLIST_ITERATORGWEN_ConstList_FindIter (const GWEN_CONSTLIST *l, const void *p)
GWEN_CONSTLIST_ITERATORGWEN_ConstList_First (const GWEN_CONSTLIST *l)
const void * GWEN_ConstList_ForEach (GWEN_CONSTLIST *l, GWEN_CONSTLIST_FOREACH_CB fn, void *user_data)
void GWEN_ConstList_free (GWEN_CONSTLIST *l)
const void * GWEN_ConstList_GetBack (const GWEN_CONSTLIST *l)
const void * GWEN_ConstList_GetFront (const GWEN_CONSTLIST *l)
unsigned int GWEN_ConstList_GetSize (const GWEN_CONSTLIST *l)
int GWEN_ConstList_IsEmpty (const GWEN_LIST *l)
GWEN_CONSTLIST_ITERATORGWEN_ConstList_Last (const GWEN_CONSTLIST *l)
GWEN_CONSTLISTGWEN_ConstList_new (void)
void GWEN_ConstList_PopBack (GWEN_CONSTLIST *l)
void GWEN_ConstList_PopFront (GWEN_CONSTLIST *l)
void GWEN_ConstList_PushBack (GWEN_CONSTLIST *l, const void *p)
void GWEN_ConstList_PushFront (GWEN_CONSTLIST *l, const void *p)
void GWEN_ConstList_Remove (GWEN_CONSTLIST *l, const void *p)
const void * GWEN_ConstListIterator_Data (GWEN_CONSTLIST_ITERATOR *li)
void GWEN_ConstListIterator_free (GWEN_CONSTLIST_ITERATOR *li)
GWEN_CONSTLIST_ITERATORGWEN_ConstListIterator_new (const GWEN_CONSTLIST *l)
const void * GWEN_ConstListIterator_Next (GWEN_CONSTLIST_ITERATOR *li)
const void * GWEN_ConstListIterator_Previous (GWEN_CONSTLIST_ITERATOR *li)
void GWEN_List_Clear (GWEN_LIST *l)
const void * GWEN_List_Contains (GWEN_LIST *l, const void *p)
void GWEN_List_Dump (const GWEN_LIST *l, FILE *f, unsigned int indent)
GWEN_LISTGWEN_List_dup (const GWEN_LIST *l)
void GWEN_List_Erase (GWEN_LIST *l, GWEN_LIST_ITERATOR *it)
GWEN_LIST_ITERATORGWEN_List_FindIter (GWEN_LIST *l, const void *p)
GWEN_LIST_ITERATORGWEN_List_First (const GWEN_LIST *l)
void * GWEN_List_ForEach (GWEN_LIST *l, GWEN_LIST_FOREACH_CB fn, void *user_data)
void GWEN_List_free (GWEN_LIST *l)
void * GWEN_List_GetBack (const GWEN_LIST *l)
GWEN_REFPTRGWEN_List_GetBackRefPtr (const GWEN_LIST *l)
void * GWEN_List_GetFront (const GWEN_LIST *l)
GWEN_REFPTRGWEN_List_GetFrontRefPtr (const GWEN_LIST *l)
GWEN_REFPTR_INFOGWEN_List_GetRefPtrInfo (const GWEN_LIST *l)
unsigned int GWEN_List_GetSize (const GWEN_LIST *l)
int GWEN_List_IsEmpty (const GWEN_LIST *l)
GWEN_LIST_ITERATORGWEN_List_Last (const GWEN_LIST *l)
GWEN_LISTGWEN_List_new (void)
void GWEN_List_PopBack (GWEN_LIST *l)
void GWEN_List_PopFront (GWEN_LIST *l)
void GWEN_List_PushBack (GWEN_LIST *l, void *p)
void GWEN_List_PushBackRefPtr (GWEN_LIST *l, GWEN_REFPTR *rp)
void GWEN_List_PushFront (GWEN_LIST *l, void *p)
void GWEN_List_PushFrontRefPtr (GWEN_LIST *l, GWEN_REFPTR *rp)
void GWEN_List_Remove (GWEN_LIST *l, const void *p)
void GWEN_List_SetRefPtrInfo (GWEN_LIST *l, GWEN_REFPTR_INFO *rpi)
void GWEN_List_Unshare (GWEN_LIST *l)
void GWEN_ListEntry_free (GWEN_LIST_ENTRY *le)
GWEN_LIST_ENTRY * GWEN_ListEntry_new (void)
void * GWEN_ListIterator_Data (GWEN_LIST_ITERATOR *li)
GWEN_REFPTRGWEN_ListIterator_DataRefPtr (GWEN_LIST_ITERATOR *li)
void GWEN_ListIterator_free (GWEN_LIST_ITERATOR *li)
unsigned int GWEN_ListIterator_GetLinkCount (const GWEN_LIST_ITERATOR *li)
void GWEN_ListIterator_IncLinkCount (GWEN_LIST_ITERATOR *li)
GWEN_LIST_ITERATORGWEN_ListIterator_new (const GWEN_LIST *l)
void * GWEN_ListIterator_Next (GWEN_LIST_ITERATOR *li)
GWEN_REFPTRGWEN_ListIterator_NextRefPtr (GWEN_LIST_ITERATOR *li)
void * GWEN_ListIterator_Previous (GWEN_LIST_ITERATOR *li)
GWEN_REFPTRGWEN_ListIterator_PreviousRefPtr (GWEN_LIST_ITERATOR *li)

Macro Definition Documentation

#define DISABLE_DEBUGLOG

Definition at line 30 of file list.c.

Function Documentation

void GWEN__ListPtr_Attach ( GWEN__LISTPTR *  lp)

Definition at line 93 of file list.c.

Referenced by GWEN_List_dup().

void GWEN__ListPtr_Clear ( GWEN__LISTPTR *  lp)

Definition at line 101 of file list.c.

References GWEN_ListEntry_free().

Referenced by GWEN__ListPtr_free(), and GWEN_List_Clear().

GWEN__LISTPTR* GWEN__ListPtr_dup ( GWEN__LISTPTR *  lp)
void GWEN__ListPtr_free ( GWEN__LISTPTR *  lp)
GWEN__LISTPTR* GWEN__ListPtr_new ( void  )

Definition at line 71 of file list.c.

References GWEN_NEW_OBJECT.

Referenced by GWEN__ListPtr_dup(), and GWEN_List_new().

void GWEN_ListEntry_free ( GWEN_LIST_ENTRY *  le)
GWEN_LIST_ENTRY* GWEN_ListEntry_new ( void  )

Definition at line 42 of file list.c.

References GWEN_NEW_OBJECT.

Referenced by GWEN__ListPtr_dup(), GWEN_List_PushBackRefPtr(), and GWEN_List_PushFrontRefPtr().