Re: glib: how to sort a doubly linked list?
- From: Joel Wijngaarde <vasquez xs4all nl>
- To: gtk-list redhat com
- Subject: Re: glib: how to sort a doubly linked list?
- Date: Wed, 03 Jun 1998 12:39:23 +0200
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]