Function

GLib-2.0GLibhash_table_lookup_extended

  • Looks up a key in the GLib.HashTable, returning the original key and the associated value and a gboolean which is true if the key was found. This is useful if you need to free the memory allocated for the original key, for example before calling g_hash_table_remove().

    You can actually pass null for lookup_key to test whether the null key exists, provided the hash and equal functions of hash_table are null-safe.

    Parameters

    Returns [boolean, any, any]

    true if the key was found in the GLib.HashTable