Hi all,
I am facing some strange behavior with GHashTable. When I use
g_hash_table_insert to insert the same key twice, it does not return FALSE, but
TRUE:
typedef struct {
int a, b;
} key_t;
typedef struct {
int a, b;
} value_t;
guint hash_func(gconstpointer key)
{
return hash((c
Forgot to mention that I am using Glib 2.42 on Linux.
> From: stathisgot...@hotmail.com
> To: gtk-list@gnome.org
> Subject: GHashTable strange behavior
> Date: Wed, 4 Mar 2015 20:44:04 +0200
>
> Hi all,
>
> I am facing some strange behavior with GHashTable.