/* Return value: the associated value, or NULL if the key is not found.  */
gpointer g_hash_table_lookup(GHashTable *hash_table, gconstpointer key)
/* Return value: the associated value, or NULL if the key is not found.  */
gpointer g_hash_table_lookup(GHashTable *hash_table, gconstpointer key)
{
  GHashNode *node;
  g_return_val_if_fail (hash_table != NULL, NULL);
  node = *g_hash_table_lookup_node (hash_table, key);
  return node ? node->value : NULL;
}