Make the use of TMParserType private

Or semi-private by removing the docstring.
This commit is contained in:
Jiří Techet 2016-02-26 01:40:37 +01:00
parent 833921e6ee
commit 86cb9aeac0
4 changed files with 7 additions and 3 deletions

View File

@ -134,7 +134,7 @@ GeanyFiletypeGroupID;
typedef struct GeanyFiletype
{
GeanyFiletypeID id; /**< Index in @ref filetypes. */
/** Represents the TMParserType of tagmanager (see the table
/* Represents the TMParserType of tagmanager (see the table
* in tagmanager/src/tm_parser.h). */
TMParserType lang;
/** Untranslated short name, such as "C", "None".

View File

@ -12,6 +12,9 @@
typedef gint TMParserType;
#ifdef GEANY_PRIVATE
/* keep in sync with ctags/parsers.h */
enum
{
@ -70,5 +73,6 @@ enum
TM_PARSER_COUNT
};
#endif /* GEANY_PRIVATE */
#endif /* TM_PARSER_H */

View File

@ -37,7 +37,7 @@ extern "C"
*/
typedef struct
{
TMParserType lang; /**< Programming language used */
TMParserType lang; /* Programming language used */
char *file_name; /**< Full file name (inc. path) */
char *short_name; /**< Just the name of the file (without the path) */
GPtrArray *tags_array; /**< Sorted tag array obtained by parsing the object */

View File

@ -137,7 +137,7 @@ typedef struct _TMTag
char *var_type; /**< Variable type (maps to struct for typedefs) */
char access; /**< Access type (public/protected/private/etc.) */
char impl; /**< Implementation (e.g. virtual) */
TMParserType lang; /**< Programming language of the file */
TMParserType lang; /* Programming language of the file */
} TMTag;