[sysprof] build: add macros for 3.38
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] build: add macros for 3.38
- Date: Fri, 13 Mar 2020 22:52:24 +0000 (UTC)
commit e0de0a94dfe20449a706b5efe903149d65cd8c8a
Author: Christian Hergert <chergert redhat com>
Date: Fri Mar 13 15:18:01 2020 -0700
build: add macros for 3.38
src/libsysprof-capture/sysprof-version-macros.h | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/src/libsysprof-capture/sysprof-version-macros.h b/src/libsysprof-capture/sysprof-version-macros.h
index 8720559..8fa1df6 100644
--- a/src/libsysprof-capture/sysprof-version-macros.h
+++ b/src/libsysprof-capture/sysprof-version-macros.h
@@ -76,6 +76,7 @@
#define SYSPROF_VERSION_3_34 (G_ENCODE_VERSION (3, 34))
#define SYSPROF_VERSION_3_36 (G_ENCODE_VERSION (3, 36))
+#define SYSPROF_VERSION_3_38 (G_ENCODE_VERSION (3, 38))
#if (SYSPROF_MINOR_VERSION == 99)
# define SYSPROF_VERSION_CUR_STABLE (G_ENCODE_VERSION (SYSPROF_MAJOR_VERSION + 1, 0))
@@ -175,3 +176,17 @@
#else
# define SYSPROF_AVAILABLE_IN_3_36 _SYSPROF_EXTERN
#endif
+
+#if SYSPROF_VERSION_MIN_REQUIRED >= SYSPROF_VERSION_3_38
+# define SYSPROF_DEPRECATED_IN_3_38 SYSPROF_DEPRECATED
+# define SYSPROF_DEPRECATED_IN_3_38_FOR(f) SYSPROF_DEPRECATED_FOR(f)
+#else
+# define SYSPROF_DEPRECATED_IN_3_38 _SYSPROF_EXTERN
+# define SYSPROF_DEPRECATED_IN_3_38_FOR(f) _SYSPROF_EXTERN
+#endif
+
+#if SYSPROF_VERSION_MAX_ALLOWED < SYSPROF_VERSION_3_38
+# define SYSPROF_AVAILABLE_IN_3_38 SYSPROF_UNAVAILABLE(3, 38)
+#else
+# define SYSPROF_AVAILABLE_IN_3_38 _SYSPROF_EXTERN
+#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]