min


Description:

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

Example: Calculate the minimum via .min():

public static int main (string[] args) {
// Output: ``min ('100, 900) = 100``
size_t min = size_t.min (100, 900);
print ("min (100, 900) = %lu\n", min);
return 0;
}

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