diff options
| author | Russell Belfer <rb@github.com> | 2012-11-21 11:53:54 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2012-11-27 13:18:29 -0800 |
| commit | d574de0e6ef05c5de89810b5460bc201ddc513de (patch) | |
| tree | fb68b0e7acfa8ba70a9225eec305bb284e042304 /src/status.c | |
| parent | 9daf240053dbe843ed925ccb713edad4a4ddff9e (diff) | |
| download | libgit2-d574de0e6ef05c5de89810b5460bc201ddc513de.tar.gz | |
API updates for status.h
Diffstat (limited to 'src/status.c')
| -rw-r--r-- | src/status.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/status.c b/src/status.c index 468417249..c7dea2c71 100644 --- a/src/status.c +++ b/src/status.c @@ -78,7 +78,7 @@ static unsigned int workdir_delta2status(git_delta_t workdir_status) } typedef struct { - int (*cb)(const char *, unsigned int, void *); + git_status_cb cb; void *payload; } status_user_callback; @@ -104,7 +104,7 @@ static int status_invoke_cb( int git_status_foreach_ext( git_repository *repo, const git_status_options *opts, - int (*cb)(const char *, unsigned int, void *), + git_status_cb cb, void *payload) { int err = 0; @@ -178,7 +178,7 @@ cleanup: int git_status_foreach( git_repository *repo, - int (*callback)(const char *, unsigned int, void *), + git_status_cb callback, void *payload) { git_status_options opts; |
