243 |
243 |
244 return list->size; |
244 return list->size; |
245 } |
245 } |
246 |
246 |
247 static void cx_arl_sort(struct cx_list_s *list) { |
247 static void cx_arl_sort(struct cx_list_s *list) { |
248 |
248 qsort(((cx_array_list *) list)->data, |
|
249 list->size, |
|
250 list->itemsize, |
|
251 list->cmpfunc |
|
252 ); |
249 } |
253 } |
250 |
254 |
251 static int cx_arl_compare( |
255 static int cx_arl_compare( |
252 struct cx_list_s const *list, |
256 struct cx_list_s const *list, |
253 struct cx_list_s const *other |
257 struct cx_list_s const *other |