Sun, 14 Feb 2021 11:30:19 +0100
adds cxLinkedListDestroy prototype
src/cx/linked_list.h | file | annotate | diff | comparison | revisions | |
src/linked_list.c | file | annotate | diff | comparison | revisions |
--- a/src/cx/linked_list.h Mon Feb 08 00:20:52 2021 +0100 +++ b/src/cx/linked_list.h Sun Feb 14 11:30:19 2021 +0100 @@ -49,6 +49,8 @@ CxList cxLinkedListWrap(CxAllocator allocator, CxListComparator comparator, CxLinkedListDesc desc); +void cxLinkedListDestroy(CxList list); + size_t cxLinkedListRecalculateSize(CxList list); #endif /* UCX_LINKED_LIST_H */
--- a/src/linked_list.c Mon Feb 08 00:20:52 2021 +0100 +++ b/src/linked_list.c Sun Feb 14 11:30:19 2021 +0100 @@ -185,6 +185,10 @@ return list; } +void cxLinkedListDestroy(CxList list) { + +} + size_t cxLinkedListRecalculateSize(CxList list) { cx_linked_list *ll = (cx_linked_list *) list->data.listdata;