Re: glib: how to sort a doubly linked list?



Roman Pozlevich wrote:
> 
> Here is my contribution to list sorting.  This is a piece of XQF
> source code (http://www.botik.ru/~roma/quake).
> 
> #include <stdlib.h>     /* qsort() */
> 
> GList *qsort_list (GList *list, int (*func) (const void *, const void*))

	..cut..

Maybe it's a good thing to implent such a function in a new version of
the glib library?

What do you think?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]