83 |
83 |
84 size_t cxListFind(CxList list, void *elem); |
84 size_t cxListFind(CxList list, void *elem); |
85 |
85 |
86 void *cxListLast(CxList list); |
86 void *cxListLast(CxList list); |
87 |
87 |
|
88 #define cxTypedListAdd(type, list, elem) (cxListAdd(list, (type*) (elem))) |
|
89 #define cxTypedListInsert(type, list, index, elem) (cxListInsert(list, index, (type*) (elem))) |
|
90 #define cxTypedListAt(type, list, index) ((type*)cxListAt(list, index)) |
|
91 #define cxTypedListFind(type, list, elem) (cxListFind(list, (type*) (elem))) |
|
92 #define cxTypedListLast(type, list) ((type*)cxListLast(list)) |
|
93 |
88 #ifdef __cplusplus |
94 #ifdef __cplusplus |
89 } /* extern "C" */ |
95 } /* extern "C" */ |
90 #endif |
96 #endif |
91 |
97 |
92 #endif /* UCX_LIST_H */ |
98 #endif /* UCX_LIST_H */ |