Skip to content

Commit ab27382

Browse files
committed
Play nice with the docs.
1 parent eda726c commit ab27382

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

include/git2/submodule.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,10 @@ typedef enum {
110110
/**
111111
* Function pointer to receive each submodule
112112
*
113-
* `sm` is the `git_submodule` currently being visited.
114-
*
115-
* `name` is the name of the submodule.
116-
*
117-
* `payload` is the value you passed to the foreach function as payload.
113+
* @param sm git_submodule currently being visited
114+
* @param name name of the submodule
115+
* @param payload value you passed to the foreach function as payload
116+
* @return 0 on success or error code
118117
*/
119118
typedef int (*git_submodule_cb)(
120119
git_submodule *sm, const char *name, void *payload);

0 commit comments

Comments
 (0)