summaryrefslogtreecommitdiff
path: root/glib/gfileutils.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo@endlessm.com>2017-11-06 12:02:40 -0800
committerCosimo Cecchi <cosimoc@gnome.org>2017-11-07 08:25:28 -0800
commit374ade1b6837a53555a617118b9696aa123f3bc3 (patch)
treee87f86d2ffe3310731391f78c3d549aa2cb0beb6 /glib/gfileutils.h
parent68d62c33fdcbea1c0e6a70ff733d213c62a1f5c3 (diff)
downloadglib-374ade1b6837a53555a617118b9696aa123f3bc3.tar.gz
glib: add g_build_filename_valist()
A new public API convenience to build a filename from a va_list. https://bugzilla.gnome.org/show_bug.cgi?id=788488
Diffstat (limited to 'glib/gfileutils.h')
-rw-r--r--glib/gfileutils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/glib/gfileutils.h b/glib/gfileutils.h
index fd119d737..4b4b1f952 100644
--- a/glib/gfileutils.h
+++ b/glib/gfileutils.h
@@ -131,6 +131,9 @@ gchar *g_build_filename (const gchar *first_element,
...) G_GNUC_MALLOC G_GNUC_NULL_TERMINATED;
GLIB_AVAILABLE_IN_ALL
gchar *g_build_filenamev (gchar **args) G_GNUC_MALLOC;
+GLIB_AVAILABLE_IN_2_56
+gchar *g_build_filename_valist (const gchar *first_element,
+ va_list *args) G_GNUC_MALLOC;
GLIB_AVAILABLE_IN_ALL
gint g_mkdir_with_parents (const gchar *pathname,