diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-03-06 02:50:43 +0400 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-03-06 02:50:43 +0400 |
commit | 3d74702eec07f2208211a72581c115340517ea4b (patch) | |
tree | 51ac0777b9f33274dc2ec8cf85093ef52281f1c6 /include/git2/pack.h | |
parent | b8daa9e0fc9669f0677105b5ecce5c67462a108e (diff) |
Make sure docurium can see git_packbuilder_foreach
Diffstat (limited to 'include/git2/pack.h')
-rw-r--r-- | include/git2/pack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/pack.h b/include/git2/pack.h index b8cf77a49..2f033bef6 100644 --- a/include/git2/pack.h +++ b/include/git2/pack.h @@ -104,6 +104,7 @@ GIT_EXTERN(int) git_packbuilder_insert_tree(git_packbuilder *pb, const git_oid * */ GIT_EXTERN(int) git_packbuilder_write(git_packbuilder *pb, const char *file); +typedef int (*git_packbuilder_foreach_cb)(void *buf, size_t size, void *payload); /** * Create the new pack and pass each object to the callback * @@ -112,7 +113,6 @@ GIT_EXTERN(int) git_packbuilder_write(git_packbuilder *pb, const char *file); * @param payload the callback's data * @return 0 or an error code */ -typedef int (*git_packbuilder_foreach_cb)(void *buf, size_t size, void *payload); GIT_EXTERN(int) git_packbuilder_foreach(git_packbuilder *pb, git_packbuilder_foreach_cb cb, void *payload); /** |