SHTK_VERSION_IS(3)
SHTK_VERSION_IS(3) Library Functions Manual SHTK_VERSION_IS(3)

shtk_version_isChecks if shtk is a specific version

shtk_import version

shtk_version_is version

The shtk_version_is function checks if the version of the in-use shtk is exactly version.

shtk_version_is returns 0 (true) if the in-use shtk is version version; 1 (false) otherwise.

if shtk_version_is 1.8; then
    # Test for a known bug, for example, and work it around.
fi

shtk(3), shtk_version(3)

shtk_version_is first appeared in shtk 1.5.

November 7, 2014 Debian