vercmp


Description:


public int vercmp (string a, string b, VercmpFlags flags)

Compare alpha and numeric segments of two software versions, considering flags.

Parameters:

a

First version number

b

Second version number

flags

Flags, e.g. as_vercmp_flag_none

Returns:

Note:

>0 if a is newer than b; 0 if a and b are the same version; <<0 if b is newer than a


Namespace: AppStream
Package: appstream



2022 vala-language.org