check_version


Description:

[ Version ( since = "2.42" ) ]
public bool check_version (uint major, uint minor, uint micro)

Like SOUP_CHECK_VERSION, but the check for soup_check_version is at runtime instead of compile time.

This is useful for compiling against older versions of libsoup, but using features from newer versions.

Parameters:

major

the major version to check

minor

the minor version to check

micro

the micro version to check

Returns:

true if the version of the libsoup currently loaded is the same as or newer than the passed-in version.


Namespace: Soup
Package: libsoup-2.4