GLib Hash Table "traversal"
Luke Schierer
lschiere at pidgin.im
Tue Dec 4 16:17:15 EST 2007
On Tue, Dec 04, 2007 at 04:05:29PM -0500, GMail wrote:
> Hello,
>
> This is just a shot in the dark, but here goes. If you are not
> already aware, I am changing the conversations list data structure
> (implemented with a glib List) with the glib Hash Table for a class
> project. The majority of the functions that use the conversations
> list iterate through it and call various functions based on the value
> at each node of the list. I have looked at the API for the glib Hash
> Table, but am not sure of the best way to implement a similar
> action. If you are familiar with glib and/or have any suggestions,
> they would be greatly appreciated.
>
> Thanks in advance and in response to your help with my project.
>
> Regards,
> Mike
if you read the glib API docs at
http://library.gnome.org/devel/glib/unstable/index.html
there is a fairly obvious choice.
luke
More information about the Devel
mailing list