GIMP Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
gimputils
Synopsis
|
Description
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.
Details
gimp_strescape ()
|
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
gimp_strcompress ()
|
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