get_uint64


Description:

public uint64 get_uint64 ()

Returns the 64-bit unsigned integer value of this.

It is an error to call this function with a this of any type other than g_variant_type_uint64.

Example: Get a uint64:

public static int main () {
Variant var1 = new Variant.uint64 (10);
// Output: ``10``
print ("%"+uint64.FORMAT+"\n", var1.get_uint64 ());
// Output: ``10``
print ("%"+uint64.FORMAT+"\n", (uint64) var1);
return 0;
}

valac --pkg glib-2.0 GLib.Variant.get_uint64.vala

Parameters:

this

a uint64 Variant instance

Returns:

a uint64