diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2007-08-22 14:23:09 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2007-08-22 14:23:09 +0000 | 
| commit | 5c33278a29873c438d2ee963674462c7a501995b (patch) | |
| tree | 7011b30af77152ac6a5999a3e3b374e39b9088c1 | |
| parent | 84aca873392c957faa5974485633ce4081a416e2 (diff) | |
Add dummy functions for g_strdelimit() and g_strdup_printf()
| -rw-r--r-- | eglib/gmain.c | 13 | ||||
| -rw-r--r-- | eglib/gmain.h | 4 | 
2 files changed, 17 insertions, 0 deletions
diff --git a/eglib/gmain.c b/eglib/gmain.c index ed708fc2..f658b02a 100644 --- a/eglib/gmain.c +++ b/eglib/gmain.c @@ -1289,6 +1289,19 @@ gchar *g_strdup(const gchar *str)  	return s;  } +gchar* g_strdup_printf(const gchar *format, ...) +{ +	/* FIXME: Implement this */ +	return g_strdup(format); +} + +gchar* g_strdelimit(gchar *string, const gchar *delimiters, +						gchar new_delimiter) +{ +	/* FIXME: Implement this */ +	return string; +} +  /* GKeyFile */  struct _GKeyFile { diff --git a/eglib/gmain.h b/eglib/gmain.h index a04d4ea0..ea445c44 100644 --- a/eglib/gmain.h +++ b/eglib/gmain.h @@ -214,6 +214,10 @@ gpointer g_realloc(gpointer mem, gulong n_bytes);  void g_free(gpointer mem);  gchar *g_strdup(const gchar *str); +gchar* g_strdup_printf(const gchar *format, ...); +gchar* g_strdelimit(gchar *string, const gchar *delimiters, +                                                gchar new_delimiter); +  #define g_new(struct_type, n_structs) \  	((struct_type *) g_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))  | 
