Variant.int64
Description:
Creates a new int64 Variant instance.
Example: Create a new int64 Variant:
public static int main () {
Variant var1 = new Variant.int64 (10);
// Output: ``10``
print ("%"+int64.FORMAT+"\n", var1.get_int64 ());
// Output: ``10``
print ("%"+int64.FORMAT+"\n", (int64) var1);
return 0;
}
valac --pkg glib-2.0 GLib.Variant.Variant.int64.vala
Parameters:
value |
a int64 value |
Returns:
a floating reference to a new int64 Variant instance |