(no version information, might be only in CVS)xdiff_string_patch -- Patch a string with an unified diff.
xdiff_string_patch() patches string str with unified patch in string patch.
flags can be either XDIFF_PATCH_NORMAL (default mode, normal patch) or XDIFF_PATCH_REVERSE (reversed patch).
If error is passed then rejected parts are stored inside this variable.
Returns a patched string.
See also xdiff_file_patch().