X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/f620be5869815a0dccd5b37089c2ee91399915e4..c771a55e40d2a41d607a0da1b67cd1f7d546ccc8:/misc.h?ds=sidebyside diff --git a/misc.h b/misc.h index 4bae95a..aee128e 100644 --- a/misc.h +++ b/misc.h @@ -10,12 +10,12 @@ #define LOG_ISENABLED(priority) \ (_XBT_LOG_ISENABLEDV((*_XBT_LOGV(default)), (priority))) +/* Returns c-string "s" if n > 1, empty string "" otherwise. */ +#define ESSE(n) ((n) > 1 ? misc::str_esse : misc::str_nil) namespace misc { extern const char str_esse[]; extern const char str_nil[]; } -/* Returns c-string "s" if n > 1, empty string "" otherwise. */ -#define ESSE(n) ((n) > 1 ? misc::str_esse : misc::str_nil) #endif // !MISC_H