pub unsafe extern "C" fn git_patch_from_diff( out: *mut *mut git_patch, diff: *mut git_diff, idx: size_t) -> c_int