src/linked_list.c

changeset 423
4cea6e50175b
parent 416
a79b2388db5e
child 428
da66264af8ad
equal deleted inserted replaced
422:afd87df80b13 423:4cea6e50175b
169 169
170 return list; 170 return list;
171 } 171 }
172 172
173 void cxLinkedListDestroy(CxList list) { 173 void cxLinkedListDestroy(CxList list) {
174 174 // TODO: free contents
175 cxFree(list->data.allocator, list);
175 } 176 }
176 177
177 size_t cxLinkedListRecalculateSize(CxList list) { 178 size_t cxLinkedListRecalculateSize(CxList list) {
178 cx_linked_list *ll = (cx_linked_list *) list->data.listdata; 179 cx_linked_list *ll = (cx_linked_list *) list->data.listdata;
179 180

mercurial