Re: GHashTable Question



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]