[sysprof/wip/chergert/mem-preload: 1/3] build: add version macros for 3.36
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/mem-preload: 1/3] build: add version macros for 3.36
- Date: Fri, 31 Jan 2020 02:28:48 +0000 (UTC)
commit 48098a906b36aa8697141facac84819dfe347c24
Author: Christian Hergert <chergert redhat com>
Date: Thu Jan 30 18:26:02 2020 -0800
build: add version macros for 3.36
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 4a9aee8..5f0d100 100644
--- a/src/libsysprof-capture/sysprof-version-macros.h
+++ b/src/libsysprof-capture/sysprof-version-macros.h
@@ -75,6 +75,7 @@
#endif
#define SYSPROF_VERSION_3_34 (G_ENCODE_VERSION (3, 34))
+#define SYSPROF_VERSION_3_36 (G_ENCODE_VERSION (3, 36))
#if (SYSPROF_MINOR_VERSION == 99)
# define SYSPROF_VERSION_CUR_STABLE (G_ENCODE_VERSION (SYSPROF_MAJOR_VERSION + 1, 0))
@@ -160,3 +161,17 @@
#else
# define SYSPROF_AVAILABLE_IN_3_34 _SYSPROF_EXTERN
#endif
+
+#if SYSPROF_VERSION_MIN_REQUIRED >= SYSPROF_VERSION_3_36
+# define SYSPROF_DEPRECATED_IN_3_36 SYSPROF_DEPRECATED
+# define SYSPROF_DEPRECATED_IN_3_36_FOR(f) SYSPROF_DEPRECATED_FOR(f)
+#else
+# define SYSPROF_DEPRECATED_IN_3_36 _SYSPROF_EXTERN
+# define SYSPROF_DEPRECATED_IN_3_36_FOR(f) _SYSPROF_EXTERN
+#endif
+
+#if SYSPROF_VERSION_MAX_ALLOWED < SYSPROF_VERSION_3_36
+# define SYSPROF_AVAILABLE_IN_3_36 SYSPROF_UNAVAILABLE(3, 34)
+#else
+# define SYSPROF_AVAILABLE_IN_3_36 _SYSPROF_EXTERN
+#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]