mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 16:34:10 +00:00
macros: Add 1.18 deprecation macros
This commit is contained in:
parent
3083ff6877
commit
8f19d01815
@ -250,4 +250,18 @@
|
||||
# define COGL_AVAILABLE_IN_1_16
|
||||
#endif
|
||||
|
||||
#if COGL_VERSION_MIN_REQUIRED >= COGL_VERSION_1_18
|
||||
# define COGL_DEPRECATED_IN_1_18 COGL_DEPRECATED
|
||||
# define COGL_DEPRECATED_IN_1_18_FOR(f) COGL_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define COGL_DEPRECATED_IN_1_18
|
||||
# define COGL_DEPRECATED_IN_1_18_FOR(f)
|
||||
#endif
|
||||
|
||||
#if COGL_VERSION_MAX_ALLOWED < COGL_VERSION_1_18
|
||||
# define COGL_AVAILABLE_IN_1_18 COGL_UNAVAILABLE(1, 18)
|
||||
#else
|
||||
# define COGL_AVAILABLE_IN_1_18
|
||||
#endif
|
||||
|
||||
#endif /* __COGL_MACROS_H__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user