diff options
author | Tor Lillqvist <tml@src.gnome.org> | 1999-05-29 10:28:06 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 1999-05-29 10:28:06 +0000 |
commit | 37e447f278b37c1138115ee9400ba9f6b418a07a (patch) | |
tree | 334cf864be37d2b52e1ecbd4e6bf12fc873295e9 /glib.h | |
parent | e334434a9d29ea51bd1564daec22585857264223 (diff) | |
download | glib-37e447f278b37c1138115ee9400ba9f6b418a07a.tar.gz |
Backslashify also '"' characters.
* gstrfuncs.c (g_strescape): Backslashify also '"' characters.
* glib.h: Document g_strescape.
Diffstat (limited to 'glib.h')
-rw-r--r-- | glib.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1551,7 +1551,11 @@ gchar* g_strconcat (const gchar *string1, ...); /* NULL terminated */ gchar* g_strjoin (const gchar *separator, ...); /* NULL terminated */ +/* Return a duplicate of the string with \ and " characters escaped by + * a \. The returned string should be freed with g_free(). + */ gchar* g_strescape (gchar *string); + gpointer g_memdup (gconstpointer mem, guint byte_size); |