min


Description:

[ CCode ( cname = "MIN" ) ]
public static uchar min (uchar a, uchar b)

Example: Calculate the minimum via .min():

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

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