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, by inserting a '\' before them. If the list of characters is NULL, a suitable set of exceptions is used.
If glib > 1.3 is installed this function is identical to
source : | A string to escape special characters in. |
exceptions : | A string holding all characters that are to be escaped. |
Returns : | A newly allocated copy of the string, with all special characters escaped using a backslash. |