glib API for iterating the g_hash_table

2004-01-14 Thread Tony Yat-Tung Cheung
Hi, Is there any API for iterating GHashTable? I only see the the g_hash_table_foreach() here. But sometimes people may like to iterate through a hash table and stop the iteration when certain conditions are met. Currently, there is g_hash_table_size(), we could easily add iteration by providing

Re: glib API for iterating the g_hash_table

2004-01-14 Thread Krzysztof Garus
On Wed, Jan 14, 2004 at 10:02:54PM +0800, Tony Yat-Tung Cheung wrote: Hi, Is there any API for iterating GHashTable? I only see the the g_hash_table_foreach() here. But sometimes people may like to iterate through a hash table and stop the iteration when certain conditions are met.