Point to g_hash_table_lookup_extended() for differentiation between
authorMatthias Clasen <maclas@gmx.de>
Mon, 30 Aug 2004 03:59:59 +0000 (03:59 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 30 Aug 2004 03:59:59 +0000 (03:59 +0000)
Sun Aug 29 23:58:38 2004  Matthias Clasen  <maclas@gmx.de>

* glib/ghash.c (g_hash_table_lookup): Point to
g_hash_table_lookup_extended() for differentiation between
not-found and value-is-NULL.  (#150960, Morten Welinder)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/ghash.c

index c4fe554..15e6ce2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sun Aug 29 23:58:38 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/ghash.c (g_hash_table_lookup): Point to 
+       g_hash_table_lookup_extended() for differentiation between
+       not-found and value-is-NULL.  (#150960, Morten Welinder)
+
 2004-08-27  Matthias Clasen  <mclasen@redhat.com>
 
        Fix #151193, Stepan Kasal:
index c4fe554..15e6ce2 100644 (file)
@@ -1,3 +1,9 @@
+Sun Aug 29 23:58:38 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/ghash.c (g_hash_table_lookup): Point to 
+       g_hash_table_lookup_extended() for differentiation between
+       not-found and value-is-NULL.  (#150960, Morten Welinder)
+
 2004-08-27  Matthias Clasen  <mclasen@redhat.com>
 
        Fix #151193, Stepan Kasal:
index c4fe554..15e6ce2 100644 (file)
@@ -1,3 +1,9 @@
+Sun Aug 29 23:58:38 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/ghash.c (g_hash_table_lookup): Point to 
+       g_hash_table_lookup_extended() for differentiation between
+       not-found and value-is-NULL.  (#150960, Morten Welinder)
+
 2004-08-27  Matthias Clasen  <mclasen@redhat.com>
 
        Fix #151193, Stepan Kasal:
index c4fe554..15e6ce2 100644 (file)
@@ -1,3 +1,9 @@
+Sun Aug 29 23:58:38 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/ghash.c (g_hash_table_lookup): Point to 
+       g_hash_table_lookup_extended() for differentiation between
+       not-found and value-is-NULL.  (#150960, Morten Welinder)
+
 2004-08-27  Matthias Clasen  <mclasen@redhat.com>
 
        Fix #151193, Stepan Kasal:
index c4fe554..15e6ce2 100644 (file)
@@ -1,3 +1,9 @@
+Sun Aug 29 23:58:38 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/ghash.c (g_hash_table_lookup): Point to 
+       g_hash_table_lookup_extended() for differentiation between
+       not-found and value-is-NULL.  (#150960, Morten Welinder)
+
 2004-08-27  Matthias Clasen  <mclasen@redhat.com>
 
        Fix #151193, Stepan Kasal:
index ecc5c96..829a24c 100644 (file)
@@ -212,7 +212,10 @@ g_hash_table_lookup_node (GHashTable       *hash_table,
  * @hash_table: a #GHashTable.
  * @key: the key to look up.
  * 
- * Looks up a key in a #GHashTable.
+ * Looks up a key in a #GHashTable. Note that this function cannot
+ * distinguish between a key that is not present and one which is present
+ * and has the value %NULL. If you need this distinction, use
+ * g_hash_table_lookup_extended().
  * 
  * Return value: the associated value, or %NULL if the key is not found.
  **/