Use correct Doxygen trailing comment syntax
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
diff --git a/include/git2/cherrypick.h b/include/git2/cherrypick.h
index 191170a..edec96a 100644
--- a/include/git2/cherrypick.h
+++ b/include/git2/cherrypick.h
@@ -29,8 +29,8 @@ typedef struct {
/** For merge commits, the "mainline" is treated as the parent. */
unsigned int mainline;
- git_merge_options merge_opts; /* Options for the merging */
- git_checkout_options checkout_opts; /* Options for the checkout */
+ git_merge_options merge_opts; /**< Options for the merging */
+ git_checkout_options checkout_opts; /**< Options for the checkout */
} git_cherrypick_options;
#define GIT_CHERRYPICK_OPTIONS_VERSION 1
diff --git a/include/git2/config.h b/include/git2/config.h
index 46b285c..70c8bea 100644
--- a/include/git2/config.h
+++ b/include/git2/config.h
@@ -59,9 +59,9 @@ typedef enum {
* An entry in a configuration file
*/
typedef struct {
- const char *name; /* Name of the entry (normalised) */
- const char *value; /* String value of the entry */
- git_config_level_t level; /* Which config file this was found in */
+ const char *name; /**< Name of the entry (normalised) */
+ const char *value; /**< String value of the entry */
+ git_config_level_t level; /**< Which config file this was found in */
} git_config_entry;
typedef int (*git_config_foreach_cb)(const git_config_entry *, void *);
diff --git a/include/git2/revert.h b/include/git2/revert.h
index eb069ae..2de1942 100644
--- a/include/git2/revert.h
+++ b/include/git2/revert.h
@@ -29,8 +29,8 @@ typedef struct {
/** For merge commits, the "mainline" is treated as the parent. */
unsigned int mainline;
- git_merge_options merge_opts; /* Options for the merging */
- git_checkout_options checkout_opts; /* Options for the checkout */
+ git_merge_options merge_opts; /**< Options for the merging */
+ git_checkout_options checkout_opts; /**< Options for the checkout */
} git_revert_options;
#define GIT_REVERT_OPTIONS_VERSION 1