Function

Haslcheck_version

since: 0.2

Declaration [src]

const char*
hasl_check_version (
  guint required_major,
  guint required_minor,
  guint required_micro
)

Description [src]

Checks that the hasl version is compatible with the requested version.

Available since: 0.2

Parameters

required_major

Type: guint

The required major version.

required_minor

Type: guint

The required minor version.

required_micro

Type: guint

The required micro version.

Return value

Type: const char*

NULL if the versions are compatible, or a string describing the version mismatch if not compatible.

The data is owned by the called function.
The value is a NUL terminated UTF-8 string.