src/cx/list.h

changeset 1239
b4b1f15d1866
parent 1201
84fc692d2708
equal deleted inserted replaced
1238:26299ce9c955 1239:b4b1f15d1866
892 * 892 *
893 * @param list the list 893 * @param list the list
894 */ 894 */
895 cx_attr_nonnull 895 cx_attr_nonnull
896 static inline void cxListSort(CxList *list) { 896 static inline void cxListSort(CxList *list) {
897 if (list->collection.sorted) return;
897 list->cl->sort(list); 898 list->cl->sort(list);
898 list->collection.sorted = true; 899 list->collection.sorted = true;
899 } 900 }
900 901
901 /** 902 /**

mercurial