summaryrefslogtreecommitdiff
path: root/clutter/clutter-macros.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2014-12-11 22:32:36 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2014-12-11 22:35:13 +0000
commitd2a2e5ba9cc3ebeec6a12e84d4d3ca0c0df29874 (patch)
tree9e15d880144436259c153c6c4a262527df91f4fb /clutter/clutter-macros.h
parentbe0679291984ff99064d38523e5e2c65a7379c6c (diff)
downloadclutter-d2a2e5ba9cc3ebeec6a12e84d4d3ca0c0df29874.tar.gz
Add 1.22 version macros
The 1.22 cycle did start a while ago.
Diffstat (limited to 'clutter/clutter-macros.h')
-rw-r--r--clutter/clutter-macros.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/clutter/clutter-macros.h b/clutter/clutter-macros.h
index 3c21e0b2c..dc593f15f 100644
--- a/clutter/clutter-macros.h
+++ b/clutter/clutter-macros.h
@@ -324,4 +324,18 @@
# define CLUTTER_AVAILABLE_IN_1_20 _CLUTTER_EXTERN
#endif
+#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_22
+# define CLUTTER_DEPRECATED_IN_1_22 CLUTTER_DEPRECATED
+# define CLUTTER_DEPRECATED_IN_1_22_FOR(f) CLUTTER_DEPRECATED_FOR(f)
+#else
+# define CLUTTER_DEPRECATED_IN_1_22 _CLUTTER_EXTERN
+# define CLUTTER_DEPRECATED_IN_1_22_FOR(f) _CLUTTER_EXTERN
+#endif
+
+#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_22
+# define CLUTTER_AVAILABLE_IN_1_22 CLUTTER_UNAVAILABLE(1, 22)
+#else
+# define CLUTTER_AVAILABLE_IN_1_22 _CLUTTER_EXTERN
+#endif
+
#endif /* __CLUTTER_MACROS_H__ */