Re: GHashTable suggestions
- From: Havoc Pennington <hp redhat com>
- To: Sven Neumann <sven gimp org>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: GHashTable suggestions
- Date: 05 Jan 2001 10:57:14 -0500
Sven Neumann <sven gimp org> writes:
> The only problem I see is that inserting a new item into a GHashTable
> does replace the value (and destroys it if a destroy_func was given),
> but keeps the old key in place. This problem is longstanding, but
> should probably be handled differently when a key_destroy_func is
> specified ?!
Maybe we could add g_hash_table_replace() which is like _insert() but
replaces the key? Kinda lame, but also kinda needed... dunno.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]