Re: g_slist_foreach and g_list_foreach functions
- From: Maciej Stachowiak <mjs eazel com>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: g_slist_foreach and g_list_foreach functions
- Date: 24 Sep 2000 09:45:32 -0700
Owen Taylor <otaylor redhat com> writes:
> Darin Adler <darin eazel com> writes:
>
>
> (I would say that if you are planning to remove elements, then doing
> g_list_foreach() and g_list_remove() is a poor way to do it. If you
> don't simply write it as a loop, which I would tend to do, you really
> want a g_list_remove_all_custom() which takes a predicate. I forget if
> Maciej's suggested additions have anything like that.)
>
I remember it having something similar. TIme to whip out that code...
- Maciej
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]