mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
Add version 1.2 define + macros
This commit is contained in:
parent
f82e9e2d22
commit
da0d9757e7
@ -270,4 +270,18 @@
|
||||
# define COGL_AVAILABLE_IN_1_18
|
||||
#endif
|
||||
|
||||
#if COGL_VERSION_MIN_REQUIRED >= COGL_VERSION_1_20
|
||||
# define COGL_DEPRECATED_IN_1_20 COGL_DEPRECATED
|
||||
# define COGL_DEPRECATED_IN_1_20_FOR(f) COGL_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define COGL_DEPRECATED_IN_1_20
|
||||
# define COGL_DEPRECATED_IN_1_20_FOR(f)
|
||||
#endif
|
||||
|
||||
#if COGL_VERSION_MAX_ALLOWED < COGL_VERSION_1_20
|
||||
# define COGL_AVAILABLE_IN_1_20 COGL_UNAVAILABLE(1, 18)
|
||||
#else
|
||||
# define COGL_AVAILABLE_IN_1_20
|
||||
#endif
|
||||
|
||||
#endif /* __COGL_MACROS_H__ */
|
||||
|
@ -321,6 +321,16 @@
|
||||
*/
|
||||
#define COGL_VERSION_1_18 (COGL_VERSION_ENCODE (1, 18, 0))
|
||||
|
||||
/**
|
||||
* COGL_VERSION_1_20:
|
||||
*
|
||||
* A macro that evaluates to the 1.20 version of Cogl, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 1.20
|
||||
*/
|
||||
#define COGL_VERSION_1_20 (COGL_VERSION_ENCODE (1, 20, 0))
|
||||
|
||||
/* evaluates to the current stable version; for development cycles,
|
||||
* this means the next stable target
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user