get_major_version


Description:

[ CCode ( cname = "gi_get_major_version" ) ]
[ Version ( since = "1.60" ) ]
public uint get_major_version ()

Returns the major version number of the girepository library.

(e.g. in version 1.58.2 this is 1.)

Returns:

the major version number of the girepository library


Namespace: GI