[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: GHashTable Question
- From: Havoc Pennington <hp redhat com>
- To: gtk-app-devel-list gnome org
- Subject: Re: GHashTable Question
- Date: 25 Apr 2002 21:12:20 -0400
jseymour@LinxNet.com (Jim Seymour) writes:
> I'm not sure what you're telling me, tho. Is the example code snippit
> I included in my original posting correct? Will it do what the API
> docs say it will do? IOW: not create duplicate keys? Not "leak
> memory?" Etc.
>
I think it was right. Though it might be a lot simpler to just use
g_hash_table_new_full() (to auto-free your keys) and
g_hash_table_replace().
Havoc
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]