diff options
author | Arthur Schreiber <schreiber.arthur@googlemail.com> | 2013-11-05 20:51:07 +0100 |
---|---|---|
committer | Arthur Schreiber <schreiber.arthur@googlemail.com> | 2013-11-05 20:51:07 +0100 |
commit | a667ca8298193b3103c1dbdcb1f6c527e6e99eb2 (patch) | |
tree | b29cea60d4458d58cb79ae8782003c07b482063c /include/git2/branch.h | |
parent | aad5403fe96a88689b9d22a732d464c64a72f8ff (diff) | |
download | libgit2-a667ca8298193b3103c1dbdcb1f6c527e6e99eb2.tar.gz |
Change the git_branch_iterator_new and git_branch_next definitions to use git_branch_t.
Diffstat (limited to 'include/git2/branch.h')
-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 |