7 /* Returns true if the given priority is enabled for the default
8 * category. Priority is xbt_log_priority_SUFFIX, where SUFFIX may
9 * be: trace, debug, verbose, info, warning, error, critical.
11 #define LOG_ISENABLED(priority) \
12 (_XBT_LOG_ISENABLEDV((*_XBT_LOGV(default)), (priority)))
14 /* Returns c-string "s" if n > 1, empty string "" otherwise. */
15 #define ESSE(n) ((n) > 1 ? misc::str_esse : misc::str_nil)
18 extern const char str_esse[];
19 extern const char str_nil[];
22 struct address: public std::unary_function<T&, T*> {
23 T* operator()(T& ref) { return &ref; }