Commit 892b7c9f by Anurag Gupta

Correcting format of comments in header file

parent 169fb81d
...@@ -262,24 +262,24 @@ GIT_EXTERN(void) git_revwalk_free(git_revwalk *walk); ...@@ -262,24 +262,24 @@ GIT_EXTERN(void) git_revwalk_free(git_revwalk *walk);
GIT_EXTERN(git_repository *) git_revwalk_repository(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 * This is a callback function that user can provide to hide a
* commit and its parents. If the callback function returns non-zero value, * commit and its parents. If the callback function returns non-zero value,
* then this commit and its parents will be hidden. * then this commit and its parents will be hidden.
* *
* @param commit_id oid of Commit * @param commit_id oid of Commit
* @param payload User-specified pointer to data to be passed as data payload * @param payload User-specified pointer to data to be passed as data payload
*/ */
typedef int(*git_revwalk_hide_cb)( typedef int(*git_revwalk_hide_cb)(
const git_oid *commit_id, const git_oid *commit_id,
void *payload); void *payload);
/** /**
* Adds a callback function to hide a commit and its parents * Adds a callback function to hide a commit and its parents
* *
* @param walk the revision walker * @param walk the revision walker
* @param hide_cb callback function to hide a commit and its parents * @param hide_cb callback function to hide a commit and its parents
* @param payload data payload to be passed to callback function * @param payload data payload to be passed to callback function
*/ */
GIT_EXTERN(int) git_revwalk_add_hide_cb( GIT_EXTERN(int) git_revwalk_add_hide_cb(
git_revwalk *walk, git_revwalk *walk,
git_revwalk_hide_cb hide_cb, git_revwalk_hide_cb hide_cb,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment