mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
Add 1.18 version macros
We're still going to do a 1.x release cycle.
This commit is contained in:
parent
32ccff8525
commit
0c39138200
@ -290,4 +290,18 @@
|
||||
# define CLUTTER_AVAILABLE_IN_1_16
|
||||
#endif
|
||||
|
||||
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_18
|
||||
# define CLUTTER_DEPRECATED_IN_1_18 CLUTTER_DEPRECATED
|
||||
# define CLUTTER_DEPRECATED_IN_1_18_FOR(f) CLUTTER_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define CLUTTER_DEPRECATED_IN_1_18
|
||||
# define CLUTTER_DEPRECATED_IN_1_18_FOR(f)
|
||||
#endif
|
||||
|
||||
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_18
|
||||
# define CLUTTER_AVAILABLE_IN_1_18 CLUTTER_UNAVAILABLE(1, 18)
|
||||
#else
|
||||
# define CLUTTER_AVAILABLE_IN_1_18
|
||||
#endif
|
||||
|
||||
#endif /* __CLUTTER_MACROS_H__ */
|
||||
|
@ -210,10 +210,20 @@ G_BEGIN_DECLS
|
||||
* A macro that evaluates to the 1.16 version of Clutter, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 1.14
|
||||
* Since: 1.16
|
||||
*/
|
||||
#define CLUTTER_VERSION_1_16 (G_ENCODE_VERSION (1, 16))
|
||||
|
||||
/**
|
||||
* CLUTTER_VERSION_1_18:
|
||||
*
|
||||
* A macro that evaluates to the 1.18 version of Clutter, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 1.18
|
||||
*/
|
||||
#define CLUTTER_VERSION_1_18 (G_ENCODE_VERSION (1, 18))
|
||||
|
||||
/* evaluates to the current stable version; for development cycles,
|
||||
* this means the next stable target
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user