Re: GHashTable Question
- From: Havoc Pennington <hp redhat com>
- To: gtk-app-devel-list gnome org
- Subject: Re: GHashTable Question
- Date: 26 Apr 2002 00:06:34 -0400
jseymour LinxNet com (Jim Seymour) writes:
Anyway, I'm wondering if I can get a *definitive* answer on this.
I thought I'd given the answer. g_hash_table_insert() does not change
the key pointer which is already in the table if the key passed in is
equal to the existing key according to your equality
function. i.e. the passed-in pointer is
ignored. g_hash_table_replace() _does_ replace the pointer which is in
the table with the passed-in key pointer.
If you really want a more definitive answer than that, just read the
source code...
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]