Variant.uint64
Description:
Creates a new uint64 Variant instance.
Example: Create a new uint64 Variant:
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.Variant.uint64.vala
Parameters:
value |
a uint64 value |
Returns:
a floating reference to a new uint64 Variant instance |