checkVersion

Like funcCHECK_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.

bool
checkVersion
(
uint major
,
uint minor
,
uint micro
)

Parameters

major uint

the major version to check

minor uint

the minor version to check

micro uint

the micro version to check

Return Value

Type: bool

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