[pango/get-direction: 1/3] Add 1.45 version macros



commit b3cc9943f3765422a078cf067fe623278b56f62a
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 16 08:40:53 2019 -0400

    Add 1.45 version macros

 pango/pango-version-macros.h | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
---
diff --git a/pango/pango-version-macros.h b/pango/pango-version-macros.h
index 8c61bb77..1625e9f4 100644
--- a/pango/pango-version-macros.h
+++ b/pango/pango-version-macros.h
@@ -252,6 +252,16 @@
  */
 #define PANGO_VERSION_1_44       (G_ENCODE_VERSION (1, 44))
 
+/**
+ * PANGO_VERSION_1_45:
+ *
+ * A macro that evaluates to the 1.45 version of Pango, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 1.45
+ */
+#define PANGO_VERSION_1_45       (G_ENCODE_VERSION (1, 45))
+
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
  */
@@ -657,4 +667,18 @@
 # define PANGO_AVAILABLE_IN_1_44                _PANGO_EXTERN
 #endif
 
+#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_45
+# define PANGO_DEPRECATED_IN_1_45               PANGO_DEPRECATED
+# define PANGO_DEPRECATED_IN_1_45_FOR(f)        PANGO_DEPRECATED_FOR(f)
+#else
+# define PANGO_DEPRECATED_IN_1_45               _PANGO_EXTERN
+# define PANGO_DEPRECATED_IN_1_45_FOR(f)        _PANGO_EXTERN
+#endif
+
+#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_45
+# define PANGO_AVAILABLE_IN_1_45                PANGO_UNAVAILABLE(1, 45)
+#else
+# define PANGO_AVAILABLE_IN_1_45                _PANGO_EXTERN
+#endif
+
 #endif /* __PANGO_VERSION_H__ */


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