Add 1.22 version macros
The 1.22 cycle did start a while ago.
This commit is contained in:
@ -324,4 +324,18 @@
|
||||
# define CLUTTER_AVAILABLE_IN_1_20 _CLUTTER_EXTERN
|
||||
#endif
|
||||
|
||||
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_22
|
||||
# define CLUTTER_DEPRECATED_IN_1_22 CLUTTER_DEPRECATED
|
||||
# define CLUTTER_DEPRECATED_IN_1_22_FOR(f) CLUTTER_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define CLUTTER_DEPRECATED_IN_1_22 _CLUTTER_EXTERN
|
||||
# define CLUTTER_DEPRECATED_IN_1_22_FOR(f) _CLUTTER_EXTERN
|
||||
#endif
|
||||
|
||||
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_22
|
||||
# define CLUTTER_AVAILABLE_IN_1_22 CLUTTER_UNAVAILABLE(1, 22)
|
||||
#else
|
||||
# define CLUTTER_AVAILABLE_IN_1_22 _CLUTTER_EXTERN
|
||||
#endif
|
||||
|
||||
#endif /* __CLUTTER_MACROS_H__ */
|
||||
|
Reference in New Issue
Block a user