您现在的位置:计算机技术学习网 > 技术中心 > 编程开发 > C >

Glib实例学习(3)哈希表

来源:一方有 责任编辑:栏目编辑 发表时间:2013-07-01 15:16 点击:

转载自:http://blog.chinaunix.net/space.php?uid=25696269&do=blog&id=752935

1:哈希表原型

 

  1. GHashTable* g_hash_table_new (GHashFunc hash_func,  
  2.                                                          GEqualFunc key_equal_func);  
  3. GHashTable* g_hash_table_new_full (GHashFunc hash_func,  
  4.                                                          GEqualFunc key_equal_func,  
  5.                                                          GDestroyNotify key_destroy_func,  
  6.                                                          GDestroyNotify value_destroy_func);  
  7. guint (*GHashFunc) (gconstpointer key);  
  8. gboolean (*GEqualFunc) (gconstpointer a,  
  9.                                                          gconstpointer b);  
  10. void g_hash_table_insert (GHashTable *hash_table,  
  11.                                                          gpointer key,  
  12.                                                       

    相关新闻>>

      发表评论
      请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
      用户名: 验证码:点击我更换图片
      最新评论 更多>>
      网站首页 - 友情链接 - 网站地图 - TAG标签 - RSS订阅 - 内容搜索
      Copyright © 2008-2015 计算机技术学习交流网. 版权所有

      豫ICP备11007008号-1