summaryrefslogtreecommitdiff
path: root/glib/gutils.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-05-25 08:42:50 -0400
committerColin Walters <walters@verbum.org>2012-05-26 10:13:30 -0400
commita9637126465fba06c1fc73cc70eb5f683ad4e4b3 (patch)
tree79b2d8400bf1af86a424bef2d97b07f7b11d8d66 /glib/gutils.h
parent9c86e1168cad8ae2c2642ffd487d4f6319e1dc04 (diff)
downloadglib-a9637126465fba06c1fc73cc70eb5f683ad4e4b3.tar.gz
Annotate API introduced for 2.30 with GLIB_AVAILABLE_IN_2_30
I didn't do this comprehensively, since there's a lot of it, mainly due to the GDBus object manager stuff, but anyone trying to use that would fail fast due to lack of the gdbus code generator. My main goal was to get API additions to existing classes like g_data_input_stream_read_line_utf8(), as well as the lower level new API like glib-unix.h. https://bugzilla.gnome.org/show_bug.cgi?id=676816
Diffstat (limited to 'glib/gutils.h')
-rw-r--r--glib/gutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/gutils.h b/glib/gutils.h
index 1dd5e56ae..213a39fb5 100644
--- a/glib/gutils.h
+++ b/glib/gutils.h
@@ -207,8 +207,10 @@ typedef enum
G_FORMAT_SIZE_IEC_UNITS = 1 << 1
} GFormatSizeFlags;
+GLIB_AVAILABLE_IN_2_30
gchar *g_format_size_full (guint64 size,
GFormatSizeFlags flags);
+GLIB_AVAILABLE_IN_2_30
gchar *g_format_size (guint64 size);
GLIB_DEPRECATED_FOR(g_format_size)