Function

Birbcheck_version

since: 0.1

Declaration [src]

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

Description [src]

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

Available since: 0.1

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.