Standard Macros

Standard Macros — commonly-used macros.

Functions

Types and Values

Includes

#include <libxfcegui4/libxfcegui4.h>

Description

These macros provide version information and a version check for the libxfcegui4.

Functions

LIBXFCEGUI4_CHECK_VERSION()

#define             LIBXFCEGUI4_CHECK_VERSION(major,minor,micro)

Checks the version of the libxfcegui4 library. It returns TRUE if the libxfcegui4 library is the same or newer than the given version.

Example 1. Checking the version of the libxfcegui4 library

1
2
if (!LIBXFCEGUI4_CHECK_VERSION (4, 1, 6))
  g_error ("libxfcegui4 version 4.1.6 or above is required.");


Parameters

major

the major version number.

 

minor

the minor version number.

 

micro

the micro version number.

 

Types and Values

LIBXFCEGUI4_MAJOR_VERSION

#define LIBXFCEGUI4_MAJOR_VERSION 4

The major version number of the libxfcegui4.


LIBXFCEGUI4_MINOR_VERSION

#define LIBXFCEGUI4_MINOR_VERSION 10

The minor version number of the libxfcegui4.


LIBXFCEGUI4_MICRO_VERSION

#define LIBXFCEGUI4_MICRO_VERSION 0

The micro version number of the libxfcegui4.

See Also

libxfce4util Standard Macros