From: Andre Noll Date: Sun, 28 Apr 2024 21:31:38 +0000 (+0200) Subject: Prevent doxygen from generating invalid html. X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=a5d317ab9ba0d75c1786c3fdc152bb7db1628942;p=paraslash.git Prevent doxygen from generating invalid html. Doxygen is too stupid to grok the preprocessor tricks we are playing here, so don't generate documentation for these parts. --- diff --git a/command.c b/command.c index 60c2aeba..bddb9cf0 100644 --- a/command.c +++ b/command.c @@ -32,12 +32,14 @@ #include "signal.h" #include "version.h" +/** \cond server_cmd_aux_info */ #define SERVER_CMD_AUX_INFO(_arg) _arg, static const unsigned server_command_perms[] = {LSG_SERVER_CMD_AUX_INFOS}; #undef SERVER_CMD_AUX_INFO #define SERVER_CMD_AUX_INFO(_arg) #_arg, static const char * const server_command_perms_txt[] = {LSG_SERVER_CMD_AUX_INFOS}; #undef SERVER_CMD_AUX_INFO +/** \endcond server_cmd_aux_info */ /** Commands including options must be shorter than this. */ #define MAX_COMMAND_LEN 32768 @@ -420,7 +422,8 @@ static int com_version(struct command_context *cc, struct lls_parse_result *lpr) } EXPORT_SERVER_CMD_HANDLER(version); -/** These status items are cleared if no audio file is currently open. */ +/** \cond empty_status_items */ +/* These status items are cleared if no audio file is currently open. */ #define EMPTY_STATUS_ITEMS \ ITEM(path) \ ITEM(directory) \ @@ -454,6 +457,8 @@ EXPORT_SERVER_CMD_HANDLER(version); ITEM(amplification) \ ITEM(play_time) \ +/** \endcond empty_status_items */ + /* * Create a set of audio-file related status items with empty values. These are * written to stat clients when no audio file is open. diff --git a/mp4.c b/mp4.c index 5ca1307f..fe9d4b37 100644 --- a/mp4.c +++ b/mp4.c @@ -131,7 +131,8 @@ static int read_int16(struct mp4 *f, uint16_t *result) return ret; } -/** A macro defining the atoms we care about. It gets expanded twice. */ +/** \cond atom_items */ +/* A macro defining the atoms we care about. It gets expanded twice. */ #define ATOM_ITEMS \ ATOM_ITEM(MOOV, 'm', 'o', 'o', 'v') /* movie (top-level container) */ \ ATOM_ITEM(TRAK, 't', 'r', 'a', 'k') /* container for a single track */ \ @@ -155,6 +156,8 @@ static int read_int16(struct mp4 *f, uint16_t *result) ATOM_ITEM(META, 'm', 'e', 't', 'a') /* iTunes Metadata box */ \ ATOM_ITEM(DATA, 'd', 'a', 't', 'a') /* iTunes Metadata data box */ \ +/** \endcond atom_items */ + /** For the C enumeration we concatenate ATOM_ with the first argument. */ #define ATOM_ITEM(_name, a, b, c, d) ATOM_ ## _name, /** The enumeration of interesting atoms. */