![]() | ![]() | ![]() | libxfce4util Reference Manual | ![]() |
---|
Standard Macros — commonly-used macros.
#include <libxfce4util/libxfce4util.h> #define LIBXFCE4UTIL_MAJOR_VERSION #define LIBXFCE4UTIL_MINOR_VERSION #define LIBXFCE4UTIL_MICRO_VERSION #define LIBXFCE4UTIL_CHECK_VERSION (major,minor,micro)
#define LIBXFCE4UTIL_MAJOR_VERSION 4
The major version number of the libxfce4util.
#define LIBXFCE4UTIL_MINOR_VERSION 2
The minor version number of the libxfce4util.
#define LIBXFCE4UTIL_MICRO_VERSION 3
The micro version number of the libxfce4util.
#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. |
<< Xfce Fundamentals | Internationalization >> |