summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-04-24 17:16:25 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-04-24 17:22:53 -0400
commit74e7a3356da7e12d7d51297ea1e75976fd1c3ec3 (patch)
tree53b2140e227618133f06a74bf6f1ed6ff34065f5
parent3f3a634d6611a5f581b267b170c6e3fd82e7111e (diff)
downloadpango-74e7a3356da7e12d7d51297ea1e75976fd1c3ec3.tar.gz
Add version macros for 1.44
-rw-r--r--pango/pango-version-macros.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/pango/pango-version-macros.h b/pango/pango-version-macros.h
index 5d66ab8c..8c61bb77 100644
--- a/pango/pango-version-macros.h
+++ b/pango/pango-version-macros.h
@@ -235,13 +235,23 @@
/**
* PANGO_VERSION_1_42:
*
- * A macro that evaluates to the 2.38 version of Pango, in a format
+ * A macro that evaluates to the 1.42 version of Pango, in a format
* that can be used by the C pre-processor.
*
* Since: 1.42
*/
#define PANGO_VERSION_1_42 (G_ENCODE_VERSION (1, 42))
+/**
+ * PANGO_VERSION_1_44:
+ *
+ * A macro that evaluates to the 1.44 version of Pango, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 1.44
+ */
+#define PANGO_VERSION_1_44 (G_ENCODE_VERSION (1, 44))
+
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
*/
@@ -633,4 +643,18 @@
# define PANGO_AVAILABLE_IN_1_42 _PANGO_EXTERN
#endif
+#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_44
+# define PANGO_DEPRECATED_IN_1_44 PANGO_DEPRECATED
+# define PANGO_DEPRECATED_IN_1_44_FOR(f) PANGO_DEPRECATED_FOR(f)
+#else
+# define PANGO_DEPRECATED_IN_1_44 _PANGO_EXTERN
+# define PANGO_DEPRECATED_IN_1_44_FOR(f) _PANGO_EXTERN
+#endif
+
+#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_44
+# define PANGO_AVAILABLE_IN_1_44 PANGO_UNAVAILABLE(1, 44)
+#else
+# define PANGO_AVAILABLE_IN_1_44 _PANGO_EXTERN
+#endif
+
#endif /* __PANGO_VERSION_H__ */