hash


Description:

public uint hash ()

Generates a hash value for a Variant instance.

The output of this function is guaranteed to be the same for a given value only per-process. It may change between different processor architectures or even different versions of GLib. Do not use this function as a basis for building protocols or file formats.

The type of this is gconstpointer only to allow use of this function with GenericSet. this must be a Variant.

Parameters:

this

a basic Variant value as a gconstpointer

Returns:

a hash value corresponding to this