svn_diff_parse_next_patch

Function svn_diff_parse_next_patch 

Source
pub unsafe extern "C" fn svn_diff_parse_next_patch(
    patch: *mut *mut svn_patch_t,
    patch_file: *mut svn_patch_file_t,
    reverse: svn_boolean_t,
    ignore_whitespace: svn_boolean_t,
    result_pool: *mut apr_pool_t,
    scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Return the next @a *patch in @a patch_file. If no patch can be found, set @a *patch to NULL. If @a reverse is TRUE, invert the patch while parsing it. If @a ignore_whitespace is TRUE, allow patches with no leading whitespace to be parsed. Allocate results in @a result_pool. Use @a scratch_pool for all other allocations.

@since New in 1.7.