max


Description:

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

Example: Calculate the maximum via .max():

public static int main (string[] args) {
// Output: ``max ('a', 'x') = x``
uchar min = uchar.max ('a', 'x');
print ("max ('a', 'x') = %c\n", min);
return 0;
}

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