diff options
| author | Etienne Samson <samson.etienne@gmail.com> | 2019-06-13 20:17:01 +0200 |
|---|---|---|
| committer | Etienne Samson <samson.etienne@gmail.com> | 2019-06-15 16:15:50 +0200 |
| commit | 764196fffb76b5ddefb378910877c737778cb500 (patch) | |
| tree | 3571b27b97798edb755010bd9b6f5237e9c9c22c /include/git2/pack.h | |
| parent | 2376fa6c65a80e23d24393328212a80765d7ba94 (diff) | |
| download | libgit2-764196fffb76b5ddefb378910877c737778cb500.tar.gz | |
doc: add missing documentation comments
Diffstat (limited to 'include/git2/pack.h')
| -rw-r--r-- | include/git2/pack.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/git2/pack.h b/include/git2/pack.h index 08d2caff1..922a3cd9d 100644 --- a/include/git2/pack.h +++ b/include/git2/pack.h @@ -179,6 +179,16 @@ GIT_EXTERN(int) git_packbuilder_write( */ GIT_EXTERN(const git_oid *) git_packbuilder_hash(git_packbuilder *pb); +/** + * Callback used to iterate over packed objects + * + * @see git_packbuilder_foreach + * + * @param buf A pointer to the object's data + * @param size The size of the underlying object + * @param payload Payload passed to git_packbuilder_foreach + * @return non-zero to terminate the iteration + */ typedef int GIT_CALLBACK(git_packbuilder_foreach_cb)(void *buf, size_t size, void *payload); /** |
