shtk_version_at_least
—
Checks if shtk is a minimum version
shtk_version_at_least |
version |
The shtk_version_at_least
function checks if the version
of the in-use shtk
is, at least, the version given in
version.
shtk_version_at_least
returns 0 (true) if the in-use
shtk
is version version or
later; 1 (false) otherwise.
if shtk_version_at_least 1.5; then
# Use symbols that are available in 1.5 and later.
else
# Workaround the lack of functionality in shtk, or exit.
fi
shtk_version_at_least
first appeared in
shtk
1.5.