macros: Add 1.18 deprecation macros
This commit is contained in:
parent
3083ff6877
commit
8f19d01815
1 changed files with 14 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue