![]() |
![]() |
![]() |
Libwnck Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <libwnck/libwnck.h> #define WNCK_MAJOR_VERSION #define WNCK_MINOR_VERSION #define WNCK_MICRO_VERSION #define WNCK_CHECK_VERSION (major, minor, micro)
libwnck provides version information, primarily useful in configure checks for builds that have a configure script, and to write code against different versions of libwnck that do not provide the same API.
#define WNCK_MAJOR_VERSION (2)
Returns : |
the major version number of the libwnck library, from the headers used at application compile time, rather than from the library linked against at application run time. (e.g. in libwnck version 1.2.5 this is 1.) |
Since 2.32
#define WNCK_MINOR_VERSION (31)
Returns : |
the minor version number of the libwnck library, from the headers used at application compile time, rather than from the library linked against at application run time. (e.g. in libwnck version 1.2.5 this is 2.) |
Since 2.32
#define WNCK_MICRO_VERSION (0)
Returns : |
the micro version number of the libwnck library, from the headers used at application compile time, rather than from the library linked against at application run time. (e.g. in libwnck version 1.2.5 this is 5.) |
Since 2.32
#define WNCK_CHECK_VERSION(major,minor,micro)
|
major version (e.g. 1 for version 1.2.5) |
|
minor version (e.g. 2 for version 1.2.5) |
|
micro version (e.g. 5 for version 1.2.5) |
Returns : |
TRUE if the version of the libwnck header files
is the same as or newer than the passed-in version, FALSE
otherwise. |
Since 2.32