[libsoup/wip/keepalive: 1/2] Add 2.58 version macros
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/keepalive: 1/2] Add 2.58 version macros
- Date: Wed, 19 Oct 2016 15:32:52 +0000 (UTC)
commit 961edf12ea58c8a9878bac1a8f496d19a04d8c5a
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Oct 19 17:31:27 2016 +0200
Add 2.58 version macros
libsoup/soup-version.h.in | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in
index ac0d7ad..e7b5cc1 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -344,6 +344,20 @@ G_BEGIN_DECLS
# define SOUP_AVAILABLE_IN_2_56 _SOUP_EXTERN
#endif
+#if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_58
+# define SOUP_DEPRECATED_IN_2_58 G_DEPRECATED
+# define SOUP_DEPRECATED_IN_2_58_FOR(f) G_DEPRECATED_FOR(f)
+#else
+# define SOUP_DEPRECATED_IN_2_58
+# define SOUP_DEPRECATED_IN_2_58_FOR(f)
+#endif
+
+#if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_58
+# define SOUP_AVAILABLE_IN_2_58 G_UNAVAILABLE(2, 58) _SOUP_EXTERN
+#else
+# define SOUP_AVAILABLE_IN_2_58 _SOUP_EXTERN
+#endif
+
SOUP_AVAILABLE_IN_2_42
guint soup_get_major_version (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]