A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use appropriate macro.
[simgrid.git]
/
include
/
xbt
/
log.h
diff --git
a/include/xbt/log.h
b/include/xbt/log.h
index
65a2f5d
..
994cb1e
100644
(file)
--- a/
include/xbt/log.h
+++ b/
include/xbt/log.h
@@
-126,8
+126,8
@@
typedef enum {
# define XBT_LOG_CONNECT(child, parent_cat) \
if (1) { \
XBT_LOG_EXTERNAL_CATEGORY(child); \
# define XBT_LOG_CONNECT(child, parent_cat) \
if (1) { \
XBT_LOG_EXTERNAL_CATEGORY(child); \
-
XBT_LOG_EXTERNAL_CATEGORY(parent_cat);
\
-
xbt_assert(_XBT_LOGV(child).parent == &_XBT_LOGV(parent_cat));
\
+
/* XBT_LOG_EXTERNAL_CATEGORY(parent_cat); */
\
+
/* xbt_assert(_XBT_LOGV(child).parent == &_XBT_LOGV(parent_cat)); */
\
_xbt_log_cat_init(&_XBT_LOGV(child), xbt_log_priority_uninitialized); \
} else ((void)0)
#endif
_xbt_log_cat_init(&_XBT_LOGV(child), xbt_log_priority_uninitialized); \
} else ((void)0)
#endif
@@
-160,8
+160,8
@@
typedef enum {
* Defines a new subcategory of the parent.
*/
#define XBT_LOG_NEW_SUBCATEGORY(catName, parent, desc) \
* Defines a new subcategory of the parent.
*/
#define XBT_LOG_NEW_SUBCATEGORY(catName, parent, desc) \
-
extern s_xbt_log_category_t _XBT_LOGV(parent);
\
-
XBT_LOG_NEW_SUBCATEGORY_helper(catName, parent, desc)
\
+
XBT_LOG_EXTERNAL_CATEGORY(parent);
\
+
XBT_LOG_NEW_SUBCATEGORY_helper(catName, parent, desc)
\
/**
* \ingroup XBT_log
/**
* \ingroup XBT_log