[clutter/android-enter-leave: 20/29] TOREMOVE: add macros from clutter 1.12



commit a10f8be34015b6040339f0fd3540c77319a7977a
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Sun Jun 17 00:47:10 2012 +0100

    TOREMOVE: add macros from clutter 1.12

 clutter/clutter-macros.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-macros.h b/clutter/clutter-macros.h
index 0246cb2..ab5fcb6 100644
--- a/clutter/clutter-macros.h
+++ b/clutter/clutter-macros.h
@@ -248,6 +248,20 @@
 # define CLUTTER_AVAILABLE_IN_1_10
 #endif
 
+#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_12
+# define CLUTTER_DEPRECATED_IN_1_12             CLUTTER_DEPRECATED
+# define CLUTTER_DEPRECATED_IN_1_12_FOR(f)      CLUTTER_DEPRECATED_FOR(f)
+#else
+# define CLUTTER_DEPRECATED_IN_1_12
+# define CLUTTER_DEPRECATED_IN_1_12_FOR(f)
+#endif
+
+#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_12
+# define CLUTTER_AVAILABLE_IN_1_12              CLUTTER_UNAVAILABLE(1, 12)
+#else
+# define CLUTTER_AVAILABLE_IN_1_12
+#endif
+
 /**
  * CLUTTER_CAIRO_FORMAT_ARGB32:
  *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]