MAX


Description:

[ CCode ( cname = "G_MAXINT" ) ]
public const int MAX

Example: Get the maximum value which can be held in a int:

public int main (string[] args) {
// Output: ``int.MAX = 2147483647 (platform-specific)``
print ("int.MAX = %d (platform-specific)\n", int.MAX);
return 0;
}

valac --pkg glib-2.0 int.MAX.vala