[libdazzle] build: add 3.38 version macros
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] build: add 3.38 version macros
- Date: Fri, 1 May 2020 22:05:11 +0000 (UTC)
commit d7ebb16cd9f1eb3c3647cff4c29af45da2f2069d
Author: Christian Hergert <chergert redhat com>
Date: Fri May 1 15:02:54 2020 -0700
build: add 3.38 version macros
src/dzl-version-macros.h | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/src/dzl-version-macros.h b/src/dzl-version-macros.h
index 166036c..5675d54 100644
--- a/src/dzl-version-macros.h
+++ b/src/dzl-version-macros.h
@@ -46,6 +46,7 @@
#define DZL_VERSION_3_32 (G_ENCODE_VERSION (3, 32))
#define DZL_VERSION_3_34 (G_ENCODE_VERSION (3, 34))
#define DZL_VERSION_3_36 (G_ENCODE_VERSION (3, 36))
+#define DZL_VERSION_3_38 (G_ENCODE_VERSION (3, 38))
#if (DZL_MINOR_VERSION == 99)
# define DZL_VERSION_CUR_STABLE (G_ENCODE_VERSION (DZL_MAJOR_VERSION + 1, 0))
@@ -180,4 +181,10 @@
# define DZL_AVAILABLE_IN_3_36 _DZL_EXTERN
#endif
+#if DZL_VERSION_MAX_ALLOWED < DZL_VERSION_3_38
+# define DZL_AVAILABLE_IN_3_38 DZL_UNAVAILABLE(3, 38)
+#else
+# define DZL_AVAILABLE_IN_3_38 _DZL_EXTERN
+#endif
+
#endif /* DZL_VERSION_MACROS_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]