Re: g_hash_table_get_keys()/g_hash_table_get_values()



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]