From: suter Date: Fri, 20 Jun 2014 09:04:20 +0000 (+0200) Subject: prevent warining for undocumented (because internal) enum members when X-Git-Tag: v3_12~964^2~21 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/13c7100f199d09a58ce0dff327bdae3de484e082?hp=3f12121b93bc246909bf9f8e1615af532bd9a9b5 prevent warining for undocumented (because internal) enum members when making doc --- diff --git a/include/xbt/config.h b/include/xbt/config.h index f109024ae5..e2d82d57f6 100644 --- a/include/xbt/config.h +++ b/include/xbt/config.h @@ -166,8 +166,10 @@ typedef enum { xbt_cfgelm_boolean, /**< int */ xbt_cfgelm_peer, /**< both a char* (representing the peername) and an integer (representing the port) */ + //! @cond xbt_cfgelm_any, /* not shown to users to prevent errors */ xbt_cfgelm_type_count + //! @endcond } e_xbt_cfgelm_type_t; /** Boolean possible values **/ diff --git a/include/xbt/log.h b/include/xbt/log.h index 6589249b24..073bc8ddbb 100644 --- a/include/xbt/log.h +++ b/include/xbt/log.h @@ -43,7 +43,9 @@ SG_BEGIN_DECL() * The different existing priorities. */ typedef enum { - xbt_log_priority_none = 0, /* used internally (don't poke with) */ + //! @cond + xbt_log_priority_none = 0, /** used internally (don't poke with)*/ + //! @endcond xbt_log_priority_trace = 1, /**< enter and return of some functions */ xbt_log_priority_debug = 2, /**< crufty output */ xbt_log_priority_verbose = 3, /**< verbose output for the user wanting more */ @@ -54,7 +56,9 @@ typedef enum { xbt_log_priority_infinite = 8, /**< value for XBT_LOG_STATIC_THRESHOLD to not log */ - xbt_log_priority_uninitialized = -1 /* used internally (don't poke with) */ + //! @cond + xbt_log_priority_uninitialized = -1 /* used internally (don't poke with) */ + //! @endcond } e_xbt_log_priority_t;