## Standard Macros

Standard Macros — commonly-used macros.

## Synopsis

    #include <libxfce4util/libxfce4util.h>

    #define     LIBXFCE4UTIL_MAJOR_VERSION
    #define     LIBXFCE4UTIL_MINOR_VERSION
    #define     LIBXFCE4UTIL_MICRO_VERSION
    #define     LIBXFCE4UTIL_CHECK_VERSION      (major,minor,micro)

## Description

These macros provide a few commonly-used features.

## Details

### LIBXFCE4UTIL_MAJOR_VERSION

    #define LIBXFCE4UTIL_MAJOR_VERSION	4

The major version number of the libxfce4util.

### LIBXFCE4UTIL_MINOR_VERSION

    #define LIBXFCE4UTIL_MINOR_VERSION	2

The minor version number of the libxfce4util.

### LIBXFCE4UTIL_MICRO_VERSION

    #define LIBXFCE4UTIL_MICRO_VERSION	0

The micro version number of the libxfce4util.

### LIBXFCE4UTIL_CHECK_VERSION()

    #define     LIBXFCE4UTIL_CHECK_VERSION(major,minor,micro)

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

Example 1. Checking the version of the libxfce4util library

      if (!LIBXFCE4UTIL_CHECK_VERSION (4, 1, 6))
        g_error ("libxfce4util 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

GLib Standard Macros