check_feature_version


Description:

public bool check_feature_version (string feature_name, uint min_major, uint min_minor, uint min_micro)

Checks whether a plugin feature by the given name exists in this and whether its version is at least the version required.

Parameters:

this

a Registry

feature_name

the name of the feature (e.g. "oggdemux")

min_major

the minimum major version number

min_minor

the minimum minor version number

min_micro

the minimum micro version number

Returns:

true if the feature could be found and the version is the same as the required version or newer, and false otherwise.




2022 vala-language.org