summaryrefslogtreecommitdiff
path: root/include/git2/apply.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/apply.h')
-rw-r--r--include/git2/apply.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/apply.h b/include/git2/apply.h
index 7cc1c22a8..91f93d75d 100644
--- a/include/git2/apply.h
+++ b/include/git2/apply.h
@@ -33,7 +33,7 @@ GIT_BEGIN_DECL
* @param delta The delta to be applied
* @param payload User-specified payload
*/
-typedef int (*git_apply_delta_cb)(
+typedef int GIT_CALLBACK(git_apply_delta_cb)(
const git_diff_delta *delta,
void *payload);
@@ -49,7 +49,7 @@ typedef int (*git_apply_delta_cb)(
* @param hunk The hunk to be applied
* @param payload User-specified payload
*/
-typedef int (*git_apply_hunk_cb)(
+typedef int GIT_CALLBACK(git_apply_hunk_cb)(
const git_diff_hunk *hunk,
void *payload);