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.


required_major guint

The required major version.

required_minor guint

The required minor version.

required_micro guint

The required micro version.

Return value

Returns: 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.