diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-11-05 12:26:41 -0800 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-11-05 12:26:41 -0800 |
commit | a8baf4b16058846eb56afaa1faea04fa41c4a4d4 (patch) | |
tree | a617009801fd27b618b87bbee77e17361124c63e /include/git2 | |
parent | 8adea28ae950e21d3579c0e7911567be4951c4c6 (diff) | |
parent | a667ca8298193b3103c1dbdcb1f6c527e6e99eb2 (diff) | |
download | libgit2-a8baf4b16058846eb56afaa1faea04fa41c4a4d4.tar.gz |
Merge pull request #1946 from arthurschreiber/change-branch-iterator-definition
Change the git_branch_iterator_new definition to use git_branch_t
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/branch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/branch.h b/include/git2/branch.h index b5e7d60ea..44d6fd9c3 100644 --- a/include/git2/branch.h +++ b/include/git2/branch.h @@ -83,7 +83,7 @@ typedef struct git_branch_iterator git_branch_iterator; GIT_EXTERN(int) git_branch_iterator_new( git_branch_iterator **out, git_repository *repo, - unsigned int list_flags); + git_branch_t list_flags); /** * Retrieve the next branch from the iterator @@ -93,7 +93,7 @@ GIT_EXTERN(int) git_branch_iterator_new( * @param iter the branch iterator * @return 0 on success, GIT_ITEROVER if there are no more branches or an error code. */ -GIT_EXTERN(int) git_branch_next(git_reference **out, unsigned int *out_type, git_branch_iterator *iter); +GIT_EXTERN(int) git_branch_next(git_reference **out, git_branch_t *out_type, git_branch_iterator *iter); /** * Free a branch iterator |