summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-31 13:01:52 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-31 14:52:44 -0400
commitb3e0bcf5ee04cb2d47bd70944630befe985268c8 (patch)
tree4c7ee51aad939441eed0c1efe8f941a107aac583
parent8be39343d8a6f7d92f827f23998a2983ebf47fa4 (diff)
downloadpango-b3e0bcf5ee04cb2d47bd70944630befe985268c8.tar.gz
Add version macros for 1.50
-rw-r--r--pango/pango-version-macros.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/pango/pango-version-macros.h b/pango/pango-version-macros.h
index 4008579c..84130ca3 100644
--- a/pango/pango-version-macros.h
+++ b/pango/pango-version-macros.h
@@ -272,6 +272,16 @@
*/
#define PANGO_VERSION_1_48 (G_ENCODE_VERSION (1, 48))
+/**
+ * PANGO_VERSION_1_50:
+ *
+ * A macro that evaluates to the 1.50 version of Pango, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 1.50
+ */
+#define PANGO_VERSION_1_50 (G_ENCODE_VERSION (1, 50))
+
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
*/
@@ -705,4 +715,18 @@
# define PANGO_AVAILABLE_IN_1_48 _PANGO_EXTERN
#endif
+#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_50
+# define PANGO_DEPRECATED_IN_1_50 PANGO_DEPRECATED
+# define PANGO_DEPRECATED_IN_1_50_FOR(f) PANGO_DEPRECATED_FOR(f)
+#else
+# define PANGO_DEPRECATED_IN_1_50 _PANGO_EXTERN
+# define PANGO_DEPRECATED_IN_1_50_FOR(f) _PANGO_EXTERN
+#endif
+
+#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_50
+# define PANGO_AVAILABLE_IN_1_50 PANGO_UNAVAILABLE(1, 50)
+#else
+# define PANGO_AVAILABLE_IN_1_50 _PANGO_EXTERN
+#endif
+
#endif /* __PANGO_VERSION_H__ */