1
0
Fork 0

macros: Add 1.18 deprecation macros

This commit is contained in:
Robert Bragg 2014-01-01 19:25:04 +00:00
parent 3083ff6877
commit 8f19d01815

View file

@ -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__ */