Standard Macros

## Standard Macros Standard Macros — commonly-used macros. |

## Synopsis

    #include <libxfcegui4/libxfcegui4.h>

    #define             LIBXFCEGUI4_MAJOR_VERSION
    #define             LIBXFCEGUI4_MINOR_VERSION
    #define             LIBXFCEGUI4_MICRO_VERSION
    #define             LIBXFCEGUI4_CHECK_VERSION           (major,
                                                             minor,
                                                             micro)

## Description

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

## Details

### LIBXFCEGUI4_MAJOR_VERSION

    #define LIBXFCEGUI4_MAJOR_VERSION 4

The major version number of the libxfcegui4.

### LIBXFCEGUI4_MINOR_VERSION

    #define LIBXFCEGUI4_MINOR_VERSION 6

The minor version number of the libxfcegui4.

### LIBXFCEGUI4_MICRO_VERSION

    #define LIBXFCEGUI4_MICRO_VERSION 4

The micro version number of the libxfcegui4.

### 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

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

`major` : | the major version number.
`minor` : | the minor version number.
`micro` : | the micro version number.

## See Also

libxfce4util Standard Macros