From 23116e6be8a8647a379e9949a4ddb48d50b24712 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 13 Mar 2021 15:39:37 +0200 Subject: [PATCH 31/31] name_translation.h: Add "**//**" -marking to inline function headers For doxygen support. See osdn #41771 Signed-off-by: Marko Lindqvist --- common/name_translation.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/common/name_translation.h b/common/name_translation.h index eafea8236f..9350f9502e 100644 --- a/common/name_translation.h +++ b/common/name_translation.h @@ -43,7 +43,7 @@ struct name_translation { /* Inititalization macro. */ #define NAME_INIT { NULL, "\0", "\0" } -/**************************************************************************** +/************************************************************************//** Initializes a name translation structure. ****************************************************************************/ static inline void name_init(struct name_translation *ptrans) @@ -52,7 +52,7 @@ static inline void name_init(struct name_translation *ptrans) ptrans->translated = NULL; } -/**************************************************************************** +/************************************************************************//** Set the untranslated and rule names of the name translation structure. If rule_name is NULL, use vernacular_name for it (after removing any i18n qualifier). @@ -81,7 +81,7 @@ static inline void names_set(struct name_translation *ptrans, } } -/**************************************************************************** +/************************************************************************//** Set the untranslated name of the name translation structure. Assumes the rule name should be based on the vernacular. ****************************************************************************/ @@ -92,7 +92,7 @@ static inline void name_set(struct name_translation *ptrans, names_set(ptrans, domain, vernacular_name, NULL); } -/**************************************************************************** +/************************************************************************//** Return the untranslated (vernacular) name of the name translation structure. Rarely used; you usually want name_translation() or rule_name(). @@ -106,7 +106,7 @@ static inline const char * return ptrans->vernacular; } -/**************************************************************************** +/************************************************************************//** Return the rule name of the name translation structure. ****************************************************************************/ static inline const char *rule_name_get(const struct name_translation *ptrans) @@ -114,7 +114,7 @@ static inline const char *rule_name_get(const struct name_translation *ptrans) return ptrans->rulename; } -/**************************************************************************** +/************************************************************************//** Return the translated name of the name translation structure. ****************************************************************************/ static inline const char * -- 2.30.1