max


Description:

[ CCode ( cname = "MAX" ) ]
public static int8 max (int8 a, int8 b)

Example: Calculate the maximum via .max():

public static int main (string[] args) {
// Output: ``max (10, 90) = 90``
int8 max = int8.max (10, 90);
print ("max (10, 90) = %u\n", max);
return 0;
}

valac --pkg glib-2.0 int8.max.vala