FORMAT


Description:

[ Version ( since = "2.6" ) ]
[ CCode ( cname = "G_GSIZE_FORMAT" ) ]
public const string FORMAT

This is the platform dependent conversion specifier for scanning and printing values of type size_t .

See also g_gint16_format.

Example: printf, size_t:

public static int main (string[] args) {
// Output: ``10``
size_t val = 10;
print ("%" + size_t.FORMAT + "\n", val);
return 0;
}

valac --pkg glib-2.0 size_t.FORMAT.vala



2022 vala-language.org