转载自:http://blog.chinaunix.net/space.php?uid=25696269&do=blog&id=752935
1:哈希表原型
- GHashTable* g_hash_table_new (GHashFunc hash_func,
- GEqualFunc key_equal_func);
- GHashTable* g_hash_table_new_full (GHashFunc hash_func,
- GEqualFunc key_equal_func,
- GDestroyNotify key_destroy_func,
- GDestroyNotify value_destroy_func);
- guint (*GHashFunc) (gconstpointer key);
- gboolean (*GEqualFunc) (gconstpointer a,
- gconstpointer b);
- void g_hash_table_insert (GHashTable *hash_table,
- gpointer key,
-