to_string
Description:
[ CCode ( cname = "g_strdup_printf" , instance_pos = -1 ) ]
public string to_string (string format = "%" + FORMAT)
public string to_string (string format = "%" + FORMAT)
Converts the value to its equivalent string representation
Example: Ssize_t to string:
public static int main () {
ssize_t num = 1000;
print ("%s\n", num.to_string ());
return 0;
}
valac --pkg glib-2.0 ssize_t.to_string.vala