From 09de5efbaa85d79e04f1c2375f5870c9aeba65f5 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 16 May 2008 10:28:33 +0000 Subject: Implement g_strfreev and add stub for g_key_file_get_string_list --- eglib/gmain.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'eglib/gmain.h') diff --git a/eglib/gmain.h b/eglib/gmain.h index cad321bb..1d7cdb72 100644 --- a/eglib/gmain.h +++ b/eglib/gmain.h @@ -252,6 +252,7 @@ gchar *g_ascii_strup(const gchar *str, gssize len); gboolean g_str_equal(gconstpointer v1, gconstpointer v2); gboolean g_str_has_prefix(const gchar *str, const gchar *prefix); gboolean g_str_has_suffix(const gchar *str, const gchar *suffix); +void g_strfreev(gchar **str_array); #define g_new(struct_type, n_structs) \ ((struct_type *) g_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) @@ -296,6 +297,10 @@ gint g_key_file_get_integer(GKeyFile *key_file, const gchar *key, GError **error); +gchar **g_key_file_get_string_list(GKeyFile *key_file, + const gchar *group_name, + const gchar *key, gsize *length, + GError **error); /* GString */ typedef struct { -- cgit