347 #define PLIST_ALLOC(cmp) Plist_alloc(cmp)
348 #define PLIST_FREE(list) Plist_free(list)
349 #define PLIST_GETSIZE(list) list_getSize(list)
350 #define PLIST_INSERT(list, data) Plist_insert(list, data)
351 #define PLIST_REMOVE(list, data) Plist_remove(list, data)
352 #define PLIST_CLEAR(list) Plist_clear(list)
355 #define TMLIST_ITER_RESET(it, list) TMlist_iter_reset(TM_ARG it, list)
356 #define TMLIST_ITER_HASNEXT(it, list) TMlist_iter_hasNext(TM_ARG it, list)
357 #define TMLIST_ITER_NEXT(it, list) TMlist_iter_next(TM_ARG it, list)
358 #define TMLIST_ALLOC(cmp) TMlist_alloc(TM_ARG cmp)
359 #define TMLIST_FREE(list) TMlist_free(TM_ARG list)
360 #define TMLIST_GETSIZE(list) TMlist_getSize(TM_ARG list)
361 #define TMLIST_ISEMPTY(list) TMlist_isEmpty(TM_ARG list)
362 #define TMLIST_FIND(list, data) TMlist_find(TM_ARG list, data)
363 #define TMLIST_INSERT(list, data) TMlist_insert(TM_ARG list, data)
364 #define TMLIST_REMOVE(list, data) TMlist_remove(TM_ARG list, data)
365 #define TMLIST_CLEAR(list) TMlist_clear(TM_ARG list)
bool_t list_remove(list_t *listPtr, void *dataPtr)
Definition: list.c:692
#define TM_CALLABLE
Definition: cxxtm.hpp:32
bool_t Plist_insert(list_t *listPtr, void *dataPtr)
Definition: list.c:623
TM_CALLABLE bool_t TMlist_iter_hasNext(TM_ARGDECL list_iter_t *itPtr, list_t *listPtr)
Definition: list.c:150
TM_CALLABLE bool_t TMlist_insert(TM_ARGDECL list_t *listPtr, void *dataPtr)
Definition: list.c:657
void list_iter_reset(list_iter_t *itPtr, list_t *listPtr)
Definition: list.c:117
TM_CALLABLE void * TMlist_iter_next(TM_ARGDECL list_iter_t *itPtr, list_t *listPtr)
Definition: list.c:176
list_node_t * list_iter_t
Definition: list.h:91
TM_CALLABLE bool_t TMlist_isEmpty(TM_ARGDECL list_t *listPtr)
Definition: list.c:453
void * list_find(list_t *listPtr, void *dataPtr)
Definition: list.c:543
struct list_node * nextPtr
Definition: list.h:88
bool_t Plist_remove(list_t *listPtr, void *dataPtr)
Definition: list.c:721
bool_t list_isEmpty(list_t *listPtr)
Definition: list.c:441
void Plist_clear(list_t *listPtr)
Definition: list.c:794
int bool_t
Definition: portable_defns.h:32
#define TM_ARGDECL
Definition: tm.h:532
TM_CALLABLE bool_t TMlist_remove(TM_ARGDECL list_t *listPtr, void *dataPtr)
Definition: list.c:750
list_node_t head
Definition: list.h:94
TM_CALLABLE void * TMlist_find(TM_ARGDECL list_t *listPtr, void *dataPtr)
Definition: list.c:565
struct list_node list_node_t
list_t * list_alloc(comparator_t *comp)
Definition: list.c:302
void * dataPtr
Definition: list.h:87
long list_getSize(list_t *listPtr)
Definition: list.c:466
void Plist_free(list_t *listPtr)
Definition: list.c:415
bool_t list_insert(list_t *listPtr, void *dataPtr)
Definition: list.c:588
TM_CALLABLE long TMlist_getSize(TM_ARGDECL list_t *listPtr)
Definition: list.c:478
comparator_t * comparator
Definition: list.h:95
void * list_iter_next(list_iter_t *itPtr, list_t *listPtr)
Definition: list.c:163
TM_CALLABLE void TMlist_clear(TM_ARGDECL list_t *listPtr)
Definition: list.c:780
TM_CALLABLE list_t * TMlist_alloc(TM_ARGDECL comparator_t *comp)
Definition: list.c:254
TM_CALLABLE void TMlist_iter_reset(TM_ARGDECL list_iter_t *itPtr, list_t *listPtr)
Definition: list.c:128
TM_CALLABLE void TMlist_free(TM_ARGDECL list_t *listPtr)
Definition: list.c:427
bool_t list_iter_hasNext(list_iter_t *itPtr, list_t *listPtr)
Definition: list.c:139
long size
Definition: list.h:96
void list_free(list_t *listPtr)
Definition: list.c:403
list_t * Plist_alloc(comparator_t *comp)
Definition: list.c:282