summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnurag Gupta <anugupta@microsoft.com>2014-03-11 12:13:29 -0700
committerAnurag Gupta <anugupta@microsoft.com>2014-03-24 11:20:51 -0700
commit892b7c9fef3aa48574b784e48a8747e77e83865b (patch)
treeb71ace7a6b7099ff16f184f346007f09696c0ca8 /include
parent169fb81d8780532ffe575b5dfbf29a1027dfe25d (diff)
downloadlibgit2-892b7c9fef3aa48574b784e48a8747e77e83865b.tar.gz
Correcting format of comments in header file
Diffstat (limited to 'include')
-rw-r--r--include/git2/revwalk.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/git2/revwalk.h b/include/git2/revwalk.h
index af425c04d..1bd6186f3 100644
--- a/include/git2/revwalk.h
+++ b/include/git2/revwalk.h
@@ -262,24 +262,24 @@ GIT_EXTERN(void) git_revwalk_free(git_revwalk *walk);
GIT_EXTERN(git_repository *) git_revwalk_repository(git_revwalk *walk);
/**
-* This is a callback function that user can provide to hide a
-* commit and its parents. If the callback function returns non-zero value,
-* then this commit and its parents will be hidden.
-*
-* @param commit_id oid of Commit
-* @param payload User-specified pointer to data to be passed as data payload
-*/
+ * This is a callback function that user can provide to hide a
+ * commit and its parents. If the callback function returns non-zero value,
+ * then this commit and its parents will be hidden.
+ *
+ * @param commit_id oid of Commit
+ * @param payload User-specified pointer to data to be passed as data payload
+ */
typedef int(*git_revwalk_hide_cb)(
const git_oid *commit_id,
void *payload);
/**
-* Adds a callback function to hide a commit and its parents
-*
-* @param walk the revision walker
-* @param hide_cb callback function to hide a commit and its parents
-* @param payload data payload to be passed to callback function
-*/
+ * Adds a callback function to hide a commit and its parents
+ *
+ * @param walk the revision walker
+ * @param hide_cb callback function to hide a commit and its parents
+ * @param payload data payload to be passed to callback function
+ */
GIT_EXTERN(int) git_revwalk_add_hide_cb(
git_revwalk *walk,
git_revwalk_hide_cb hide_cb,