Function

Purpleversion_check

Declaration [src]

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

Description [src]

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

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.