* mu-str.h make mu_str_escape_c_literal optionionally quote "" its result
This commit is contained in:
@ -198,10 +198,11 @@ const char* mu_str_fullpath_s (const char* path, const char* name);
|
||||
* and " with \"
|
||||
*
|
||||
* @param str a non-NULL str
|
||||
* @param in_quotes whether the result should be enclosed in ""
|
||||
*
|
||||
* @return the escaped string, newly allocated (free with g_free)
|
||||
*/
|
||||
char* mu_str_escape_c_literal (const gchar* str)
|
||||
char* mu_str_escape_c_literal (const gchar* str, gboolean in_quotes)
|
||||
G_GNUC_WARN_UNUSED_RESULT;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user