[libsoup] soup-version.h.in: add 2.54 macros
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] soup-version.h.in: add 2.54 macros
- Date: Tue, 24 Nov 2015 14:53:14 +0000 (UTC)
commit fba08262caa6038971e60e669aeb6ef2ec9ab821
Author: Dan Winship <danw gnome org>
Date: Sun Nov 22 11:17:38 2015 -0500
soup-version.h.in: add 2.54 macros
libsoup/soup-version.h.in | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in
index b7ea89e..e085d04 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -62,6 +62,7 @@ G_BEGIN_DECLS
#define SOUP_VERSION_2_48 (G_ENCODE_VERSION (2, 48))
#define SOUP_VERSION_2_50 (G_ENCODE_VERSION (2, 50))
#define SOUP_VERSION_2_52 (G_ENCODE_VERSION (2, 52))
+#define SOUP_VERSION_2_54 (G_ENCODE_VERSION (2, 54))
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
@@ -314,6 +315,20 @@ G_BEGIN_DECLS
# define SOUP_AVAILABLE_IN_2_52 _SOUP_EXTERN
#endif
+#if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_54
+# define SOUP_DEPRECATED_IN_2_54 G_DEPRECATED
+# define SOUP_DEPRECATED_IN_2_54_FOR(f) G_DEPRECATED_FOR(f)
+#else
+# define SOUP_DEPRECATED_IN_2_54
+# define SOUP_DEPRECATED_IN_2_54_FOR(f)
+#endif
+
+#if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_54
+# define SOUP_AVAILABLE_IN_2_54 G_UNAVAILABLE(2, 54) _SOUP_EXTERN
+#else
+# define SOUP_AVAILABLE_IN_2_54 _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]