GIMP Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
|
Right now all you find here is a function taken from glib-1.3 that we need in several places. Since Gimp doesn't rely on glib-1.3, we provide it here.
|
Escapes special characters in a string in the same way as in the C language, i.e. either with one of the sequences \b, \f, \n, \r, \t, \\, \", or as a three-digit octal escape sequence \nnn.
If the list of exceptions is NULL, all ASCII control characters, the backslash character, the double-quote character, and all non-ASCII characters are escaped.
If glib > 1.3 is installed this function is identical to
source : | A string to escape special characters in. |
exceptions : | A string holding characters not to be escaped. |
Returns : | A newly allocated copy of the string, with all special characters escaped as in the C language. |
|
Does the opposite of
Escaped characters are either one of the sequences \b, \f, \n, \r, \t, \\, \", or a three-digit octal escape sequence \nnn.
If glib > 1.3 is installed this function is identical to
source : | A string to that has special characters escaped. |
Returns : | A newly allocated copy of the string, with all escaped special characters converted to their unescaped form. |