Ggit.DiffHunkCallback
Description: Reference for Ggit.DiffHunkCallback

### Function

# GgitDiffHunkCallback

#### Declaration

    gint
    (* GgitDiffHunkCallback) (
      GgitDiffDelta* delta,
      GgitDiffHunk* hunk,
      gpointer user_data
    )

#### Description [src]

Called for each hunk.

#### Parameters

`delta` | `GgitDiffDelta`
| A `GgitDiffDelta`.
| The data is owned by the caller of the function.
`hunk` | `GgitDiffHunk`
| A `GgitDiffHunk`.
| The data is owned by the caller of the function.
`user_data` | `gpointer`
| User-supplied data.
| The argument can be `NULL`.
| The data is owned by the caller of the function.

#### Return value

Returns: | `gint`
| 0 to go continue or a `GgitError` in case there was an error.