[pango/simple-fontmap: 9/37] Add version macros for 1.52




commit d0dae4ee282cb780de8e0ae325d906aaff8d5d94
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Dec 26 00:34:35 2021 -0500

    Add version macros for 1.52

 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 84130ca3..b4f78e6d 100644
--- a/pango/pango-version-macros.h
+++ b/pango/pango-version-macros.h
@@ -282,6 +282,16 @@
  */
 #define PANGO_VERSION_1_50       (G_ENCODE_VERSION (1, 50))
 
+/**
+ * PANGO_VERSION_1_52:
+ *
+ * A macro that evaluates to the 1.52 version of Pango, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 1.52
+ */
+#define PANGO_VERSION_1_52       (G_ENCODE_VERSION (1, 52))
+
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
  */
@@ -729,4 +739,18 @@
 # define PANGO_AVAILABLE_IN_1_50                _PANGO_EXTERN
 #endif
 
+#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_52
+# define PANGO_DEPRECATED_IN_1_52               PANGO_DEPRECATED
+# define PANGO_DEPRECATED_IN_1_52_FOR(f)        PANGO_DEPRECATED_FOR(f)
+#else
+# define PANGO_DEPRECATED_IN_1_52               _PANGO_EXTERN
+# define PANGO_DEPRECATED_IN_1_52_FOR(f)        _PANGO_EXTERN
+#endif
+
+#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_52
+# define PANGO_AVAILABLE_IN_1_52                PANGO_UNAVAILABLE(1, 52)
+#else
+# define PANGO_AVAILABLE_IN_1_52                _PANGO_EXTERN
+#endif
+
 #endif /* __PANGO_VERSION_H__ */


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