diff options
author | joshaber <joshaber@gmail.com> | 2015-12-08 11:58:19 -0500 |
---|---|---|
committer | joshaber <joshaber@gmail.com> | 2015-12-08 11:58:19 -0500 |
commit | ab273821ee0bf2c46ad9051266d3731cbc31b03b (patch) | |
tree | e3238d49db96f02ace82e0cf07bfcd5897bf6d1d | |
parent | eda726cfb5ea44659e471ba10aee21f16ce2e800 (diff) | |
download | libgit2-ab273821ee0bf2c46ad9051266d3731cbc31b03b.tar.gz |
Play nice with the docs.typedef-submodule-cb
-rw-r--r-- | include/git2/submodule.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/git2/submodule.h b/include/git2/submodule.h index 96187b0e1..bc94eacaa 100644 --- a/include/git2/submodule.h +++ b/include/git2/submodule.h @@ -110,11 +110,10 @@ typedef enum { /** * Function pointer to receive each submodule * - * `sm` is the `git_submodule` currently being visited. - * - * `name` is the name of the submodule. - * - * `payload` is the value you passed to the foreach function as payload. + * @param sm git_submodule currently being visited + * @param name name of the submodule + * @param payload value you passed to the foreach function as payload + * @return 0 on success or error code */ typedef int (*git_submodule_cb)( git_submodule *sm, const char *name, void *payload); |