Commit d12d3de2 d12d3de2c5b0ffbdc29d3c99d41fbcee718b1a8d by Sergey Poznyakoff

(list_comparator_t): New datatype.

(list_set_comparator): New function
1 parent 0749f184
......@@ -38,6 +38,9 @@ typedef int list_action_t __PMT ((void* item, void* cbdata));
extern int list_do __P ((list_t list, list_action_t * action, void *cbdata));
typedef int (*list_comparator_t) __PMT((const void*, const void*));
extern list_comparator_t list_set_comparator __P((list_t, list_comparator_t));
#ifdef __cplusplus
}
......