mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 08:28:53 +02:00
Add g_build_path(), g_build_filename(), to create separated paths,
Sat Sep 8 17:14:51 2001 Owen Taylor <otaylor@redhat.com> * glib/gfileutils.[ch]: Add g_build_path(), g_build_filename(), to create separated paths, suppressing duplicate separators, from varargs lists. * tests/strfunc-test.c: Add tests for g_build_path(), g_build_filename().
This commit is contained in:
@@ -88,6 +88,12 @@ int g_file_open_tmp (const char *tmpl,
|
||||
char **name_used,
|
||||
GError **error);
|
||||
|
||||
gchar *g_build_path (const gchar *separator,
|
||||
const gchar *first_element,
|
||||
...);
|
||||
gchar *g_build_filename (const gchar *first_element,
|
||||
...);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_FILEUTILS_H__ */
|
||||
|
Reference in New Issue
Block a user