From 13c7100f199d09a58ce0dff327bdae3de484e082 Mon Sep 17 00:00:00 2001 From: suter Date: Fri, 20 Jun 2014 11:04:20 +0200 Subject: [PATCH 1/1] prevent warining for undocumented (because internal) enum members when making doc --- include/xbt/config.h | 2 ++ include/xbt/log.h | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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; -- 2.20.1