msvc: Fix an "conversion, possible loss of data" warning
[libgit2.git] / src / revwalk.h
blob270eb8c6bfbcece0f3abdf20f16f5a2c0b0e65e3
1 #ifndef INCLUDE_revwalk_h__
2 #define INCLUDE_revwalk_h__
4 #include "git/common.h"
5 #include "git/revwalk.h"
7 #include "commit.h"
9 struct git_revpool {
10 git_odb *db;
12 git_commit_list iterator;
13 git_commit *(*next_commit)(git_commit_list *);
15 git_commit_list roots;
16 git_revpool_table *objects;
18 unsigned walking:1;
19 unsigned int sorting;
22 void gitrp__prepare_walk(git_revpool *pool);
23 int gitrp__enroot(git_revpool *pool, git_commit *commit);
25 #endif /* INCLUDE_revwalk_h__ */