mutter/clutter/clutter-version.h.in

20 lines
863 B
C
Raw Normal View History

#ifndef __CLUTTER_VERSION_H__
#define __CLUTTER_VERSION_H__
#define CLUTTER_MAJOR_VERSION @CLUTTER_MAJOR_VERSION@
#define CLUTTER_MINOR_VERSION @CLUTTER_MINOR_VERSION@
#define CLUTTER_MICRO_VERSION @CLUTTER_MICRO_VERSION@
#define CLUTTER_VERSION @CLUTTER_VERSION@
#define CLUTTER_VERSION_S "@CLUTTER_VERSION@"
#define CLUTTER_VERSION_HEX ((CLUTTER_MAJOR_VERSION << 24) | \
(CLUTTER_MINOR_VERSION << 16) | \
(CLUTTER_MICRO_VERSION << 8))
#define CLUTTER_CHECK_VERSION(major,minor,micro) \
(CLUTTER_MAJOR_VERSION > (major) || \
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION > (minor)) || \
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION == (minor) && CLUTTER_MICRO_VERSION > (micro)))
#endif /* __CLUTTER_VERSION_H__ */