version: Add 1.12 version macros
This commit is contained in:
parent
22fad59c26
commit
1b3777f169
@ -248,6 +248,20 @@
|
||||
# define CLUTTER_AVAILABLE_IN_1_10
|
||||
#endif
|
||||
|
||||
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_12
|
||||
# define CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
|
||||
# define CLUTTER_DEPRECATED_IN_1_12_FOR(f) CLUTTER_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define CLUTTER_DEPRECATED_IN_1_12
|
||||
# define CLUTTER_DEPRECATED_IN_1_12_FOR(f)
|
||||
#endif
|
||||
|
||||
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_12
|
||||
# define CLUTTER_AVAILABLE_IN_1_12 CLUTTER_UNAVAILABLE(1, 12)
|
||||
#else
|
||||
# define CLUTTER_AVAILABLE_IN_1_12
|
||||
#endif
|
||||
|
||||
/**
|
||||
* CLUTTER_CAIRO_FORMAT_ARGB32:
|
||||
*
|
||||
|
@ -184,6 +184,16 @@ G_BEGIN_DECLS
|
||||
*/
|
||||
#define CLUTTER_VERSION_1_10 (G_ENCODE_VERSION (1, 10))
|
||||
|
||||
/**
|
||||
* CLUTTER_VERSION_1_12:
|
||||
*
|
||||
* A macro that evaluates to the 1.12 version of Clutter, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 1.12
|
||||
*/
|
||||
#define CLUTTER_VERSION_1_12 (G_ENCODE_VERSION (1, 12))
|
||||
|
||||
/* evaluates to the current stable version; for development cycles,
|
||||
* this means the next stable target
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user