Re: g_hash_table_get_keys()/g_hash_table_get_values()
- From: Jaka Mocnik <jaka mocnik kiss uni-lj si>
- To: Maciej Stachowiak <mjs eazel com>
- Cc: Havoc Pennington <hp redhat com>,Federico Mena Quintero <federico helixcode com>,gtk-devel-list gnome org
- Subject: Re: g_hash_table_get_keys()/g_hash_table_get_values()
- Date: Sat, 29 Jul 2000 14:59:02 +0200
Maciej Stachowiak wrote:
> A GList is more convenient than a GSList a lot of the time; GList
> seems to me to be used more commonly, and people have custom list
> operations that work on it, which it would be annoying to have to
> duplicate. You'd also have to convert before calling various APIs that
> expect a GList.
I agree. GList is much more commonly used. I also use foreach() often to
extract either keys or values, rarely both. And as these two functions
really aren't that much code, I vote for including them in the hashtable
API.
regards,
jaKa
--
email: jaka.mocnik@kiss.uni-lj.si
w3: http://pluton.ijs.si/~jaka
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]