mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
Provide 1.20 version macros
This commit is contained in:
parent
1eb6f2420b
commit
d708c30765
@ -310,4 +310,18 @@
|
|||||||
# define CLUTTER_AVAILABLE_IN_1_18 _CLUTTER_EXTERN
|
# define CLUTTER_AVAILABLE_IN_1_18 _CLUTTER_EXTERN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_20
|
||||||
|
# define CLUTTER_DEPRECATED_IN_1_20 CLUTTER_DEPRECATED
|
||||||
|
# define CLUTTER_DEPRECATED_IN_1_20_FOR(f) CLUTTER_DEPRECATED_FOR(f)
|
||||||
|
#else
|
||||||
|
# define CLUTTER_DEPRECATED_IN_1_20 _CLUTTER_EXTERN
|
||||||
|
# define CLUTTER_DEPRECATED_IN_1_20_FOR(f) _CLUTTER_EXTERN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_20
|
||||||
|
# define CLUTTER_AVAILABLE_IN_1_20 CLUTTER_UNAVAILABLE(1, 20)
|
||||||
|
#else
|
||||||
|
# define CLUTTER_AVAILABLE_IN_1_20 _CLUTTER_EXTERN
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __CLUTTER_MACROS_H__ */
|
#endif /* __CLUTTER_MACROS_H__ */
|
||||||
|
@ -224,6 +224,16 @@ G_BEGIN_DECLS
|
|||||||
*/
|
*/
|
||||||
#define CLUTTER_VERSION_1_18 (G_ENCODE_VERSION (1, 18))
|
#define CLUTTER_VERSION_1_18 (G_ENCODE_VERSION (1, 18))
|
||||||
|
|
||||||
|
/**
|
||||||
|
* CLUTTER_VERSION_1_20:
|
||||||
|
*
|
||||||
|
* 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.20
|
||||||
|
*/
|
||||||
|
#define CLUTTER_VERSION_1_20 (G_ENCODE_VERSION (1, 20))
|
||||||
|
|
||||||
/* evaluates to the current stable version; for development cycles,
|
/* evaluates to the current stable version; for development cycles,
|
||||||
* this means the next stable target
|
* this means the next stable target
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user